20 Essential Crosh Commands

Instead of croshing headlong, learn to crosh safely.

Similar to most operating systems, ChromeOS also has its own terminal. The Chromium OS Developer Shell, also known simply as Crosh, is an incredibly versatile tool for performing a wide variety of functions such as debugging, performing hardware checks, tweaking hidden hardware settings, etc.

Acer Chromebook | Google (edited)

How Does Crosh Work?

Using Crosh is relatively simple, but you should have the relevant knowledge on how to use it. Like any other terminal, Crosh responds to commands entered by the user. These commands are associated with functions that the system will perform once the command has been input by the user.

Therefore, one must have a proper hold over the commands and what functions they perform. And that is exactly what this guide is here for; to provide you with the most used and helpful commands, along with functions that they will perform.

How To Launch Crosh

To start up Crosh, simply press Ctrl+Alt+T on your Chromebook or ChromeOS device. Crosh will launch on a Google Chrome tab.

Starting up Crosh
Crosh start-up screen | GoGuardian

Crosh Commands and Their Functions

Let’s take a look at the different Crosh commands that can help you get the most out of your device. Each command in the following table has a description next to it so you can find one you like and try it right away!

Commands

Functions

helpOutputs a small list of simple and indispensable commands
help [command]States the command's function
help_advancedDisplays a list of all the commands
battery_test [test length (in seconds)]Performs a test to measure the the battery discharge rate.
Also displays information about the battery of the device.
connectivityDisplays connection status and other relevant details
Ctrl+CThis is not a command. In case you ever find yourself running a command that is taking too long, press these keys to abort that process safely.
exitCloses Crosh
memory_testPerforms a test on the available memory
modem helpConfigure a connected modem
network_diagRuns a network diagnostic test and saves it in text file
ping [website]Checks how to fast traffic is travelling from your device to the desired website and watches for packet losses. Crucial for diagnosing network issues and network troubleshooting,
rollbackThis will rollback your device to previous ChromeOS updates, Be warned that this will powerwash your device.
set_timeConfigure your device's time manually
shellStarts up shell. This is intended for developers only and has much more advanced commands, therefore, it should be used with the utmost care.
shell_historyDisplays a list of commands that you ran previously on Crosh
storage_statusDisplays storage health, vendor attributes and error logs
storage_test_1Performs a short offline SMART test
storage_test_2Performs an extensive readability test
sudo dump_vpd_log –full –stdoutDisplays your device's UUID, time zone, IMEI, language, region, model, keyboard layout and serial number.
topSimilar to Task Manager in Windows. Displays the processes and applications running in the background along with their usage in terms of memory.
uptimeDisplays how long the system has been running and how many users logged in during that time

Ready to Crosh Safely?

These commands are basic and serve as a preliminary before setting foot inside Crosh. However, one is better safe than sorry, hence, take care to make backups before tinkering around in Crosh and always consult the Internet before experimenting a command that you are unable to make sense of. Now, enjoy tweaking your Chromebook and troubleshooting through Crosh.

ABOUT THE AUTHOR

Kamil Anwar


Kamil is a certified MCITP, CCNA (W), CCNA (S) and a former British Computer Society Member with over 9 years of experience Configuring, Deploying and Managing Switches, Firewalls and Domain Controllers also an old-school still active on FreeNode.