25 Helpful Chrome OS Shell (crosh) Commands

To open Crosh:
Control-Alt-T
Find commands:
help
Find debugging commands:
help_advanced
To switch to a more bash-like command prompt:
shell
To see the version of Chrome OS running on your Chromebook:
sudo /opt/google/chrome/chrome –version
To show the operating system name:
uname -a
If the operating system is a bit old, update it using the update_engine_client command:
update_engine_client -update
To see the bios of your Chromebook, open up a command prompt (Control-Alt-T) and use the following command:
sudo /usr/sbin/chromeos-firmwareupdate -V
To record some sound from the microphone, use the sound command:
sound record NUMBEROFSECONDS
Look for (or grep for) BIOS version in the output.
To see the Vital Product Data, or configuration information such as time zone, UUID, IMEI, model, region, language, keyboard layout and serial number:
sudo dump_vpd_log --full --stdout
Or to be specific about what you’re looking for, grep for it:
sudo dump_vpd_log --full --stdout | grep "serial_number"
To capture some logs for debugging, use systrace:
sudo systrace
To manage the mouse and keyboard acceleration and autorepeat options, use the xset command:
xset m
Trace a network path (like traceroute or tracert):
tracepath www.google.com
To run standard network diagnostics:
network_diag
To capture some packets while troubleshooting network connections, use the packet_capture command:
packet_capture
Check the type, version, etc on your touchpad:
tpcontrol status
You can also debug network connections by logging data going through either the wifi, cellular or ethernet interface using the network_logging command. To do so for a normal 802.11 connection:
network_logging wifi
To configure WAP information:
wpa_cli
Accept an SSL Cert by using the enterprise_ca_approve command:
enterprise_ca_approve --allow-self-signed https://entca.krypted.com
Many standard Linux commands work as well, including route, mount, cat, cp, chmod, reboot, echo, tr, cut, mkdir, see, if/then, ls, cd, pwd, su, sudo, etc. To see IP address information:
sudo ifconfig eth0
To see all of the running processes:
top
To see a user’s hid and gid, use id:
id
To see more information To ping Google:
ping www.google.com
To connect to another system, you can use ssh and there’s an ssh_forget_host command to clear a given host from your hosts list.
To see a list of the commands you’ve run:
shell_history
Finally, to close the command prompt:
exit