The Crosh is the terminal that comes with your Chromebook and knowing how to run Crosh commands will be a big help to you

The term “Chrome Shell” (abbreviated as “Crosh”) enables you to execute instructions that would otherwise be inaccessible because of the absence of graphical capabilities. You may perform “advanced” tasks like installing Crouton for a complete Linux OS on your Chromebook and evaluating the battery life of the device. Crosh is the equivalent of Windows Command Prompt or PowerShell on Chrome OS.
The best thing about Crosh is that you won’t even be aware it exists if you never use it. So you can’t just go into Crosh and end up doing something wrong. For everyone else, it is out of sight and out of mind. It’s kept quiet. There is more to Google’s Chrome OS than just a simple desktop operating system designed for people who want to quickly get started with Chrome and its ecosystem of apps.
In this post, we’ve covered all the commands, from the most basic to the most sophisticated. Whatever problems you may be experiencing with your Chromebook, you may run a number of diagnostics by using the Crosh commands mentioned below.
How Do Crosh Commands Work?
Like other operating systems, Chrome OS offers a command-line interface called Chrome Shell or Crosh, similar to Windows and Linux. A variety of tools are available on your Chromebook to help you troubleshoot and identify problems. If you’ve been itching to play around with your Chromebook, you can run these Chrome OS commands in Crosh.
How To Use Crosh Commands On Chromebook OS?
Despite being a globally utilized operating system, Chrome OS is more popular in the US and UK due to its advantages. It increases productivity and is reasonably priced. If you are aware of the obscure Crosh commands. Your time will be saved, and you’ll seem good in front of others.
Use cool Crosh commands to unblock websites if your web browser is frozen between the working hour and unresponsive. You must press “Ctrl + Alt + T” on your keyboard in order to use Crosh hacks and launch the Crosh commands shell terminal. The Crosh terminal will now be accessible. then execute any Crosh commands.
Basic Crosh Commands
help : display general commands to execute.

help_advanced : list debugging and advanced commands.
help <command> : check what a command does.

uptime : shows information about how long the system has been active and how many people are currently logged in beside you.

set_time : lets you set the time manually.

connectivity : check connection status and more details (works on some devices).
inputcontrol : adjust touchpad and mouse controls manually (works on some devices).
Ctrl+C: it’s not precisely a command, using Ctrl+C will quickly end any running Crosh activities if you wish to forcefully close them.
exit: exit Crosh.
Network Crosh Commands
ping www.beebom.com : works like in other operating systems for network troubleshooting.

network_diag : runs network diagnostics tests and saves them as text files.

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 weren’t aware, the Crosh may be used to initiate an SSH network connection. User, host, and port can also be added as arguments.
network_diag –wifi : Run this command to troubleshoot a number of issues if your Chromebook’s WiFi connection is acting up. Additionally, it will provide you with information on the WiFi device’s driver.

dns : Would you like to query a DNS server? Fortunately, Crosh’s DNS command will take care of you.
p2p_update –show-peers : With this command, you may determine how many connections are active in a P2P connection.
System-based Crosh Commands
vmc stop termina : On Chrome OS, you may use it to forcefully close the whole Linux container. You may use it to shut down the entire Linux system if any Linux programs or files cease working for you.
vmc start termina : Just like above, it starts the Linux container on Chrome OS.

vmc start –enable-gpu : To force the GPU to be enabled when running Linux on Chrome OS, run this command. In this manner, Linux applications will run much more effectively visually.
set_wake_on_lan true : You can truly activate the Wake on Lan function on your Chromebook, did you know that? Of course, a Chromebook with an Ethernet connection is required. WoL may be disabled by simply substituting false for true.
ipaddrs -6 : Run this simple command on Crosh to determine your Chromebook’s IPv6 address.

ipaddrs -4 : Similarly, you can quickly find the IPv4 address by running this command.
top : Chrome OS’ task manager (shows all processes).

battery_test <seconds> : 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.

Developers Crosh commands
shell : more commands aimed at developers (Developer mode only).
rlz : enable or disable RLZ.

route : display routing tables.

syslog <message> : 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 :Run this command in Crosh while in Developer mode to change the Grub configuration file. You may turn on and off hardware components, functions, and a lot more here.
evtest : This command can assist you in manually selecting the device and running a touch diagnostic test if your Chromebook has any input devices, such as a stylus.
