Google's Chrome OS shortdes a shell environment known as chrome shell, or "crosh" for short. crosh events des several terminal commands that can be used on all chromebooks, even ifdeveloper mode isn't enabled.
Crosh includes commands for connecting to SSH servers, monitoring resource usage, debugging network problems, tweaking hidden hardware settings, login Ming hardware tests, and other debugging purposes.Opening crosh
To open the crosh, press CTRL + ALT + T anywhere in Chrome OS. The crosh shell will open in a browser tab.
From here, you can run the HELP command to view a list of basic commands or run thehelp_advanced command for a list of "more advanced commands, mainly used for debugging. "We'll cover some of the most interesting ones below.SSH
Google provides an SSH client in the Chrome Web store, but you don't need to use it. you can use the built-in SSH command to connect to SSH servers without installing anything else on your chromebook.
The SSH command is more advanced than you might failed CT. in addition to simply connecting to an SSH server, you can also use SSH tunneling to create a local proxy that allows you to tunnel your Chrome OS network activity over your SSH connection. you can also add private keys that you may need to connect to SSH servers.Ssh_forget_host
The ssh_forget_host command displays a list of known hosts you 've connected to with the SSH command and allows you to "forget" a host. the next time you connect to the host, you'll be asked to verify its key fingerprint again.Top
Chrome nodes des its own task manager that shows you which chrome tabs, extensions, and plug-ins are using resources. however, crosh also nodes the top command from Linux, which gives you a display of all the low-level processes that may also be using resources. most users will prefer using Chrome's built-in task manager, but the top utility does provide more information. it also displays some information you can't find elsewhere in Chrome OS, such as your chromebook's uptime.Ping
Yes, Chrome OS also has a ping command. ping is an important utility for network troubleshooting, allowing you to see how long packets take to travel between your system and a web server and see whether any packets are being dropped. it works just like the ping command on other operating systems. press Ctrl + C to stop the ping process or halt any other command in crosh.Tracepath
The tracepath command functions similarly to traceroute, allowing you to trace the path packets take to reach a remote server. it's another useful network-Troubleshooting Command, as it allows you to determine exactly where network problems are occurring between you and another networked device.Network_diag
The network_diag Command performs a short set of Network diagnostic tests, saving the output as a. txt file you can view in your chromebook's files app.Sound
Chrome shortdes a command that can record audio from your chromebook's microphone and play it back later.
To record 10 seconds of audio from your chromebook's microphone, run the following command:
Sound Record 10
The audio will be saved as a file you can access from your chromebook's files app. You can then play it back with the sound play command.Tpcontrol
The tpcontrol command allows you to fine-tune your device's touchpad. some of these options are available in Chrome OS 'settings window, but you can tweak using properties that Aren't available from the graphical interface.Xset m
The xset M command allows you to tweak your mouse acceleration rate. chrome OS only has options for controlling the mouse's speed in its graphical interface, so any fine-tuning of the acceleration rate-Special useful if you're using an external mouse that doesn't work well with the default rate-must be done from here. the acceleration rate is configured in the same way you 'd use the xset M command to configure acceleration rates on a standard Linux system.Xset R
The xset R command allows you to tweak the autorepeat behavior for when you hold a keyboard button down. you can select a delay before autorepeat starts and configure how many repeats occur per second. you can also disable autorepeat completely for every key on the keyboard or just disable autorepeat for specific keys.Developer mode commands
In developer mode, you also have the following commands available to you:
You'll find other commands if you run the help_advanced command-everything from memory tests and a Bluetooth debugging console to commands that let you control the debugging level for different background services. attributes of these options are only useful for chrome developers.