July 18

List of All The Crosh Commands

0  comments

For the majority of people, Google Chrome operating system is just a straightforward desktop operating system, on which they can instantly get into Chrome and its ecosystem. But what if we tell you there is much more than that what our eyes see?

Similar to other operating systems, such as Linux or Windows, Chrome operating system also equipped with a command-line interface known as Chrome Shell or Crosh in short. It allows you to perform multiple tasks by running multiple tasks, analyze various system settings, debug issues, and much more on a Chromebook.

Now you might be thinking about running it on developer mode, which can’t be done by everyone since it is a complicated process. Well, there is another simple way that you can use by executing simple commands. If you want to tweak your system with Crosh commands, below we have listed some useful command that you can use. So, let’s dive in and take a look!

Crosh Commands
Crosh Commands

Note: Before executing commands, you need to start Crosh on your device, by following the below method;

  • To Startup Crosh, press CTRL+ALT+T keys at once.
  • Crosh will open up in Chrome.
    Crosh Command
    Crosh Command

Basic Crosh Commands

Here are some basic Crosh Commands;

  • If you want to display general commands to execute, type help in the command box.
    Crosh Help
    Crosh Help
  • For debugging and advanced commands, type the command help_advanced.
    Crosh Advanced
    Crosh Advanced
  • If you want to see what a command is used for, simply type help and command name. For example, you want to know what connectivity command does. Just type help connectivity.
    Crosh connectivity
    Crosh connectivity
  • If you want to get information about how long your device has been running, as well as how many users has logged in to it except you, just type the command uptime.
    Uptime
    Uptime
  • If you want to set date and time manually using Crosh command, just type the command set_time.
    Set time
    Set time
  • If you want to check connection status and other details, you just need to type the command connectivity. Remember, this command does not work on all the devices.
    Crosh connectivity
    Crosh connectivity
  • If you want to control touchpad and mouse controls manually, you just need to type the command inputcontrol. This command also works only on some specific devices.
  • If you want to close Crosh, just type the command exit.

So, these are some of the basic Crosh commands that you can use. Now, let’s move to some SYSTEM commands of Crosh.

Crosh System Commands

Here are some useful Crosh commands for the system that you can execute;

  • If you want to show Chrome’s operating system Task Manager’s all process, just type the command top.
  • If you want to get details of your battery, as well as how much it is used up in seconds, just type the command battery_test and seconds that consumes the battery. For example, we want to see the battery consumption for ten seconds. Here is how we will execute the command: battery_test 10.
    Battery
    Battery
  • If you want to see the free memory, just type the command memory_test.
    Memory
    Memory
  • If you want to powerwash your device by rolling back to the previous update, type the command rollback.
  • If you want to debug Bluetooth control on your device, type the Crosh command  bt_console.Bluetooth

These are the Crosh commands for your SYSTEM that you can execute to perform different tasks. Now, let’s take a look at some Crosh Commands for NETWORK.

Crosh Commands for Network

Here are some useful NETWORK commands that you can execute to perform multiple tasks by Crosh;

  • If you want to run network diagnostics tests, type the command network_diag.
    Network debug
    Network debug
  • If you want to track down your network path, type the command tracepath and then your network address. For instance, you want to trace the path of Google. You will need to type the command: tracepath www.google.com.
  • If you want to disable-peer to-peer sharing, type the command p2p_update.
    P2P
    P2P
  • If you are connected to a modem and want to configure it using Crosh command, type the command modem help.
    Modem Help
    Modem Help
  • Suppose you want to set APN for cellular data usage on your Chromebook using the Crosh command, type set_cellular_ppp. Note that this command will only work on Chromebooks that support cellular connectivity.

Are you interested to learn more Crosh commands for DEVELOPERS? Well, here are some more;

Crosh Commands for DEVELOPERS

  • To show more commands related to DEVELOPERS, type shell. This command will only work in Developers mode.
  • To enable or disable RLZ, type the command RLZ.
    RLZ
    RLZ
  • If you want to see routing tables, type the command route.
    Route
    Route
  • If you are using cellular data on your Chromebook and don’t want to use it for updates, type the command update_over_cellular. Note that this command will only work on Chromebooks that support cellular connectivity.
  • If you want to upload crash reports on Chrome crash servers, type the command upload_crashes.
  • To see lists about TPM status (Trusted Platform Module), type the command tpm_status.
    TPM
    TPM

Conclusion

Chromebooks come with an in-built terminal, which is known as Crosh or Chrome OS Developer Shell. The terminal can be used to have fun with your device, run multiple tests, and debug your device. Above, we have listed some basic but useful Crosh commands that you can easily execute to perform different tasks. If you like to know more such commands, leave us a comment below.

FAQs

Q: How can I open Crosh on my Chromebook?

Ans: To open Crosh terminal on your Chromebook, press CTRL+ALT+T keys from the keyboard.

Q: Can I use Crosh to run EXE files?

Ans: As far as I know, it doesn’t support EXE files, which means you cannot run it on Crosh.

Q: What can I don on Crosh?

Ans: You can run multiple tests, debug issues, or just have fun with your machine by using a command line.


Tags


You may also like