What Are Some Commands For Crosh

Crosh is an acronym for “Chrome Shell,” Information technology allows you lot to perform commands that would otherwise be inaccessible due to the lack of graphical capabilities. “Advanced” activities like installing Crouton for a full Linux OS on your Chromebook may be washed, as can checking the battery health of the device. Crosh is Chrome Os’ counterpart of the Command Prompt or PowerShell on Windows.

Crosh is nifty because if you never use it, you won’t even know it’s in that location. In other words, y’all can’t just wander into Crosh and end up making a mistake. It’s out of sight, out of listen—for everyone else. It’s a secret. Google’s Chrome OS may exist a basic desktop operating system intended for users who want to get started with Chrome and its ecosystem of apps rapidly, merely there’southward more than.

Like Windows and Linux, Chrome OS has a command-line interface termed Chrome Crush or Crosh, just like other operating systems. Your Chromebook provides a wide range of tools for troubleshooting and diagnosing issues. These Chrome OS commands may be executed in Crosh if you’ve been curious near tinkering with your Chromebook.

The 25 best Crosh commands for Chrome OS

Nosotros’ve covered everything from the virtually central to the about advanced commands in this commodity. No matter what bug you’re having with your Chromebook, the Crosh commands listed below may exist used to perform a diverseness of diagnostics.

Crosh volition need to be started before you can begin running commands. Pressing Ctrl+Alt+T should bring up Crosh in Chrome merely like any other tab.

Crosh

In this article guide, we shall categorize the commands according to the functions they execute.

Basic commands

  1. help:
    brandish a list of general commands

    help command

    assistance control

  2. help_advanced:
    a comprehensive range of debugging and avant-garde-level commands.
  3. Help <command>:aids check whatever the command does

    help connectivity

    assistance connectivity

  4. inputcontrol:
    Make manual adjustments to the touchpad and mouse controls (works on some devices).
  5. set_time:
    allows yous to set the time manually.

    set time command

    ready fourth dimension command

  6. uptime:
    Provides facts nigh the system’s lifespan and the number of other users who have signed in.

    uptime

    uptime

  7. connectivity:
    The status of the connection and more information may exist found here (works on some devices).
  8. exit:
    command to exit Crosh
  9. Ctrl+C:
    Although it’s not a control, Ctrl+C on Crosh will forcefully close whatsoever currently running processes.

Networking commands

  1. ping www.chromeready.com:
    used for network troubleshooting, and it’s the same equally in other operating systems.

    ping chromeready

    ping chromeready

  2. tracepath chromeready.com:
    Run and relieve a text file of network diagnostics tests.

    tracepath chromeready

    tracepath chromeready

  3. network_diag:
    trace the network’southward route or origin.

    network

    network

  4. modem assistance:
    Connect a modem and configure it.

    modem help

    modem aid

  5. p2p_update:
    Actuate or deactivate peer-to-peer updates.

    p2p update

    p2p update

  6. ssh:
    If y’all didn’t know, the Crosh command might be used to establish an SSH network connection. Additionally, y’all may include a user’due south username, hostname, and port equally parameters.
  7. set_apn:
    configure the APN for mobile information (Chromebooks with cellular connectivity).
  8. network_diag -wifi:
    Run this command if you’re experiencing problem connecting to the Internet on your Chromebook. The specifics of the WiFi device driver will too be provided using this command.

    debug wifi

    debug wifi

  9. set_cellular_ppp:
    This command will help you lot set a PPP password and username for the cellular connections for Chromebooks with cellular connectivity.
  10. p2p_update -evidence-peers:
    This control tin be used in a P2P connection to verify the current number of connections.
  11. dns:
    Is at that place a DNS server you’d want to search up? With Crosh’due south DNS command, yous’re covered.

System-based commands

  1. vmc stop termina:
    This feature allows you to shut the entire Linux container on Chrome OS. You can use the command-line tool apt-stop to shut down the unabridged Linux system.
  2. vmc start termina:
    This control starts the Linux container on your Chrome Os

    start termina

    start termina

  3. ipaddrs -6:
    Run this command on Crosh to find out your Chromebook’due south IPv6 address.
  4. set_wake_on_lan true:
    On your Chromebook, did you lot know that you may enable the Wake-on-LAN feature? It is compulsory to have a Chromebook with an Ethernet port. To turn off WoL, just substitute simulated for true.
  5. vmc start -enable-gpu:
    Using Linux on Chrome OS, use the post-obit command to enable the GPU. Linux programs’ visual performance will improve dramatically due to this change.
  6. top:
    Opens the Chrome Bone task manager that shows all the running processes.

    top

    top

  7. ipaddrs -four:
    The IPv4 address can also exist readily found past using this control.
  8. memory_test:
    conducts tests on the gratuitous RAM that is currently available.

    memory test

    memory test

  9. battery_test<seconds>:
    In a matter of seconds, view detailed information on your battery’s usage and remaining capacity.

    battery test

    battery test

  10. bt_console:
    On your Chromebook, it opens the Bluetooth debugging console.

    bt console

    bt panel

  11. rollback:
    revert to the almost contempo Chrome Os update (will powerwash your device).

Developers

  1. trounce:
    In order to find what version of Chrome OS your Chromebook is running, become here. In addition, it shows actress directives for programmers (Developer style only).
  2. evtest:
    This command is helpful if you use an input device, such equally a stylus, on your Chromebook to acquit a bear upon diagnostic test.
  3. upload_crashes:
    The Chrome crash servers may be used to submit crash reports.
  4. sudo edit-grup-config:
    You may alter the Grub configuration file with this control in Crosh if you are in Developer mode. In this section, you may activate or disable hardware devices, functions, and much more.
  5. syslog:
    log an entry to the system log.
  6. road:
    show a table with the routes.
  7. rlz:
    Let or deny admission to RLZ
  8. update_over_cellular:
    Updates can exist enabled or disabled using cellular data on Chromebooks that support cellular connectivity
  9. tpm_status:
    shows the current state of the Trusted Platform Module.

Are yous ready to try out the Crosh commands for Chrome Bone?

With the recent Chrome Os upgrades, Google has eliminated a few commands and introduced a few new ones. As a result, nosotros’ve simply included commands compatible with the most recent version of Chrome Os. Besides, this list volition be updated in the futurity, so check back for new commands. For now, you can experiment with these commands on a Chromebook and then let usa know how it goes. In the comments beneath, delight share your thoughts.

Conclusion

Like the Linux BASH or Windows cmd.exe terminals, Chrome Shell (CROSH) is a command-line interface for Chrome. Linux-based Chrome Os doesn’t recognize many of the commands often used on Linux-based systems. This commodity has comprehensively covered most of the common commands you should exist acquainted with while using your Chromebook. Nosotros hope you lot found it helpful. If yes, delight allow us know via the comments section below.

Source: https://chromeready.com/7714/commands-to-run-in-crosh-on-your-chromebook/