Chromebooks are great lightweight computers for anyone who wants a cheap machine to do everyday tasks. However, it can be more than that.
In this article, we’re going over every Crosh command you need to know.
What is Crosh?
Simply put, Crosh is the terminal for your Chromebook. Since ChromeOS is based on Linux, Crosh is a lot of like the Bash terminal we’ve all come to know.
Also read: How to type a degree symbol on Chromebook?
Crosh Commands for ChromeOS
Here are some must-know Crosh commands.
These basic Crosh commands can often come in handy.
|help||Shows general commands you can run in the terminal.|
|help_advanced||Lists debugging and advanced commands.|
|help (command name)||Shows what a particular command does.|
|uptime||Shows how long the system has been running and logged in users.|
|set_time||Sets the system time manually.|
|connectivity||Shows connection status and related information.|
|inputcontrol||Controls touchpad and mouse controls.|
|Ctrl + C||Stops the currently running process in the terminal.|
|exit||Closes the terminal.|
System commands in Crosh
Here are some system commands in Crosh to help you monitor things.
|vmc start termina||Starts a Linux container on ChromeOS.|
|vmc stop termina||Closes the currently running Linux container.|
|vmc start -enable-gpu||Forces the GPU when running Linux on ChromeOS.|
|set_wake_on_lan true||Enables wake on LAN functionality for your Chromebook. Can be disabled by replacing true with false.|
|ipaddrs -6||Shows the IPv6 address for your Chromebook.|
|ipaddrs -4||Shows the IPv4 address for your Chromebook.|
|top||Starts a task manager in the terminal.|
|battery_test (seconds)||Checks the battery and reports how much of it was used in the given timeframe.|
|memory_test||Runs a memory test on the available system memory.|
|rollback||Reverts to the previous version of ChromeOS.|
|bt_console||Shows debug information for your Bluetooth connections.|
Here are some Networking related commands for Crosh.
|ping (URL)||Pings the given URL.|
|network_diag||Runs network diagnostic tests.|
|tracepath (URL)||Traces the given URL.|
|p2p_update||Enables/Disables the peer-to-peer update sharing.|
|Modem help||Configures a connected modem.|
|set_apn||Sets an APN for cellular usage.|
|set_cellular_ppp||Sets a PPP username and password for cellular connections.|
|ssh||Starts an SSH connection.|
|network_diag -wifi||Debugs any ongoing WiFi issues.|
|dns||Looks up a specific DNS server.|
|p2p_update -show-peers||Shows the current number of connected peers.|
Here are some development commands for Crosh that’ll be helpful to know.
|shell||Shows more developer commands|
|rlz||Enables/Disables RLZ on your Chromebook.|
|route||Shows routing tables.|
|syslog (Message)||Adds the mentioned message to the system log.|
|update_over_cellular||Enables/Disables updates over cellular data.|
|upload_crashes||Uploads crash reports to Chrome crash servers.|
|tpm_status||Shows Trusted Platform Module (TPM) information.|
|sudo edit-grub-config||Allows users to edit the Grub config file. Only available in developer mode.|
|evtest||Performs a touch diagnostic test for connected input devices like styluses.|
Also read: How to change the language on Chromebook?