How to Access the Command Prompt on a Chromebook

Chromebook command prompt

The command prompt does exist on a Chromebook.  Not in the sense that it exists as a separate application like on a Windows or Mac computer where it’s known as the terminal.  It doesn’t take much to get to a command prompt on a Chromebook though.

We’ll be telling you just how you can get there.  You may be new to Chromebooks or the Chrome operating system but when you’ve become used to having the option of using the command prompt fret not.  We’ve got your back.

Command Prompt – crosh shell

The command prompt on a Chromebook is accessible from the Google Chrome Browser which comes pre-installed.  Okay so, you’re probably thinking well, how do I get there?  It’s actually quite simple.

Accessing the crosh shell

Chromebook crosh

Just press ctrl + alt + T and this brings you to what’s called the crosh shell (command prompt or terminal) on a Chromebook.  It’ll now launch in a separate tab of the Chrome browser. Once the crosh shell has launched, you’ll type “shell” to get to the root Linux shell from within your Chrome Browser.

To use the shell, you’ll need to be in developer mode; we also recommend knowing what you’re doing so things don’t go haywire and you don’t break your Chromebook.

To see the basic crosh shell commands available on the Chromebook, you’d type “help” after the crosh command prompt.  When you’re in need of more advanced commands type “help_advanced” instead.  The advanced commands get used for debugging purposes.

Help command

Why would you want to use the command prompt or crosh shell on your Chromebook?  Well, if your just curious and want to poke around on your Chromebook device, there are various commands you can run to check on things.  Like what?  In the basic help portion of crosh, you can use the ping command or the top command.  Top shows you the system information and all the processes that are running during the current session.  This is what it looks like when we type the help command in crosh on our Chromebook;                                                                                                                                       Crosh help


Help_advanced command

To do more advanced poking around, yes that’s right you’ll need to type the help_advanced command and choose one of the commands that are listed on your Chromebook to check those specifics.                              Crosh help advanced

Some of the commands you may want to run are checking on the battery information of your Chromebook.  You can make sure your batteries firmware is up to date and trigger an update from crosh if you wish.  You could also test your battery to make sure it’s not having any health issues and working properly.  Having connectivity problems?  You can see what the connectivity status of your Chromebook is and work on getting things back up and running.

Want to check on the free and used memory, even get detailed memory information to test the available free memory? You can do that under the advanced help options.  Other than, that most of the rest of the crosh commands are intended for debugging and mostly used by developers.

This post covers the basics of the Chromebooks crosh command prompt and the commands that can be used to do basic information checking. Any Chromebook user may want to find out basics and learn how to use the Chromebooks command shell if for nothing else out of curiosity or just because they can.  The other more advanced commands should be utilized by those who are very knowledgeable about what they’re doing or as intended by developers.

Posted by Heather on October 17, 2016

Leave a Reply

Your email address will not be published. Required fields are marked *

TechJunkie Also Recommends