Best Chrome OS Commands to Run in Crosh (Updated 2022)
Here, we have mentioned all sorts of commands, for both basic to advanced users. No matter what problems you are facing on your Chromebook, you can find Crosh commands below to run a large range of tests. You can click on the link below to move to different sections.
Basic
Before you start executing commands, you’ll have to start up Crosh. To do it, simply press Ctrl+Alt+T and Crosh should open up in Chrome like any other tab.
1. help : display general commands to execute.
2. help_advanced : list debugging and advanced commands.
3. help
4. uptime : displays details about how long the system has been running and the number of users logged in other than you.
5. set_time : lets you set time manually.
6. connectivity: check connection status and more details (works on some devices). 7. inputcontrol : adjust touchpad and mouse controls manually (works on some devices). 8. Ctrl+C :While it’s not exactly a command, but if want to forcefully close some ongoing operations on Crosh then simply press Ctrl+C to stop the execution instantly. 9. exit: exit Crosh.
System
vmc stop termina : It allows you to force close the whole Linux container on Chrome OS. If Linux apps or files stop working for you then you can use it to shut down the whole Linux system.
vmc start termina : Just like above, it starts the Linux container on Chrome OS.
vmc start –enable-gpu : Run this command to force enable GPU while using Linux on Chrome OS. This way the visual performance of Linux apps will be much better.
set_wake_on_lan true : Did you know that you can actually enable the Wake on Lan feature on your Chromebook? Obviously, you will need a Chromebook with an Ethernet port. If you want to turn off WoL then simply replace true with false.
ipaddrs -6 : If you want to find out the IPv6 address of your Chromebook then run this easy command on Crosh.
ipaddrs -4 : Similarly, you can quickly find the IPv4 address by running this command.
top : Chrome OS’ task manager (shows all processes).
battery_test
: check battery info and how much battery is used up in seconds. memory_test : runs tests on available free memory.
rollback : move back to the last Chrome OS update (will powerwash your device).
bt_console : debug Bluetooth console on your Chromebook.
Network
ping www.beebom.com : works like in other operating systems for network troubleshooting.
network_diag : runs network diagnostics tests and saves them as text file.
tracepath www.beebom.com : trace the network path/source.
p2p_update : enable or disable peer-to-peer update sharing.
modem help : configure a connected modem.
set_apn : set APN for cellular data usage (Chromebooks with cellular connectivity).
set_cellular_ppp : set PPP username and password for cellular connection (Chromebooks with cellular connectivity).
ssh : In case you are unaware, you can actually start an SSH network connection through the crosh. You can also add user, host and port as arguments.
network_diag –wifi : If you are having issues with WiFi connection on your Chromebook then run this command to debug many of the issues. It will also let you know the driver specific information about the WiFi device.
dns : Want to perform a lookup on a DNS server? Well, Crosh has you covered with its DNS command.
p2p_update –show-peers : In a P2P connection, you can check the current number of connections with this command.
Developers
shell : more commands aimed at developers (Developer mode only).
rlz : enable or disable RLZ.
route : display routing tables.
syslog
: store a message to syslog. update_over_cellular : enable or disable updates when using cellular data (Chromebooks with cellular connectivity).
upload_crashes : upload crash reports to the Chrome crash servers.
tpm_status: lists information about Trusted Platform Module status.
sudo edit-grub-config : If you are on the Developer mode, you can run this command in Crosh to edit the Grub config file. Here, you can enable or disable hardware devices, features and a lot more.
evtest : If you use any input device like a stylus on your Chromebook then this command can help you manually select the device and perform a touch diagnostic test.
Ready to try out some Chrome OS commands in Crosh?
While you might find a lot of other Chrome OS commands, it’s important to note here that with the new Chrome OS updates, Google has removed a few commands and added a few new ones. So, we have only listed commands that work with the latest Chrome OS build. Also, we will keep updating this list, so you can come back later for more new commands. Till then, try out these commands on your Chromebook and let us know what you feel. Sound off in the comments section below.