40 Handy Chrome OS Commands to Run in Crosh

Google’s Chrome OS might seem like a simple desktop OS aimed at people looking to get going quickly on Chrome and its ecosystem of apps, but there’s more than what meets the eye. Like Windows and Linux, Chrome OS too features a command-line interface dubbed Chrome Shell or Crosh. It lets you run various tests, debug problems, monitor different system settings, and perform diagnostic tests on your Chromebook. So, if you have been wanting to tinker with your Chromebook, here are 40 cool Chrome OS commands to run in Crosh.

Best Chrome OS Commands to Run in Crosh


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.

Chrome OS Crosh start

1. help : display general commands to execute.

Chrome OS Crosh help command

2. help_advanced : list debugging and advanced commands.

3. help <command> : check what a command does.

Chrome OS Crosh help with command

4. uptime : displays details about how long the system has been running and the number of users logged in other than you.

Chrome OS Crosh uptime command

5. set_time : lets you set time manually.

Chrome OS Crosh set time command

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.


10. 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.

11. vmc start termina : Just like above, it starts the Linux container on Chrome OS.

Best Chrome OS Commands to Run in Crosh (Updated February 2021)

12. 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.

13. 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.

14. ipaddrs -6 : If you want to find out the IPv6 address of your Chromebook then run this easy command on Crosh.

Best Chrome OS Commands to Run in Crosh (Updated February 2021)

15. ipaddrs -4 : Similarly, you can quickly find the IPv4 address by running this command.

16. top : Chrome OS’ task manager (shows all processes).

Best Chrome OS Commands to Run in Crosh (Updated February 2021)

17. battery_test <seconds> : check battery info and how much battery is used up in seconds.

Chrome OS Crosh battery test command

18. memory_test : runs tests on available free memory.

Chrome OS Crosh memory test command

19. rollback : move back to the last Chrome OS update (will powerwash your device).

20. bt_console : debug Bluetooth console on your Chromebook.

Chrome OS Crosh bt console command


21. ping www.beebom.com : works like in other operating systems for network troubleshooting.

Chrome OS Crosh ping command

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

Chrome OS Crosh network diag command

23. tracepath www.beebom.com : trace the network path/source.

Chrome OS Crosh tracepath command

24. p2p_update : enable or disable peer-to-peer update sharing.

Chrome OS Crosh p2p command

25. modem help : configure a connected modem.

Chrome OS Crosh modem help command

26. set_apn : set APN for cellular data usage (Chromebooks with cellular connectivity).

27. set_cellular_ppp : set PPP username and password for cellular connection (Chromebooks with cellular connectivity).

28. 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.

29. 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.

Best Chrome OS Commands to Run in Crosh (Updated February 2021)

30. dns : Want to perform a lookup on a DNS server? Well, Crosh has you covered with its DNS command.

31. p2p_update –show-peers : In a P2P connection, you can check the current number of connections with this command.


32. shell : more commands aimed at developers (Developer mode only).

33. rlz : enable or disable RLZ.

Chrome OS Crosh rlz command

34. route : display routing tables.

Chrome OS Crosh route command

35. syslog <message> : store a message to syslog.

36. update_over_cellular : enable or disable updates when using cellular data  (Chromebooks with cellular connectivity).

37. upload_crashes : upload crash reports to the Chrome crash servers.

38. tpm_status: lists information about Trusted Platform Module status.

Chrome OS Crosh tpm status command

39. 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.

40. 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.

Best Chrome OS Commands to Run in Crosh (Updated February 2021)

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.

comment Comments 169
  • colin says:

    all of them work for me

  • milan says:

    I was here to see new and cool commands but there are the dev commands here too this is so amazing

  • omar says:

    How do you see the messages in the syslog

  • ghost says:

    im trying to disable the wifi at school two

    • THATGENIUS says:


      • Joshua says:

        What? It helped me find my wifi password…

      • logan says:


      • gabe itch says:

        lol bro, they got it locked down and calm down bro

      • kovoskey says:

        not for me im still able to destroy a chromebook with crosh

      • kovoskey says:

        not for me im still able to destroy a chromebook with crosh

  • Shadow says:

    I just came here for some codes in crosh and now I am here just reading the comment section. You can really tell which people are here to actually learn how the crosh operating system works and the others that are here to try and hack GoGaurdian (tho that would be nice).

  • jhonmar says:

    ok some of them dont work

    • conrad says:

      same for me

    • omar says:


  • Dave says:

    Many of those commands do NOT work in February 2022. The article would be reviewed and corrected.

    • gurnoor virdi says:


    • Joshua says:

      Are you using crosh or Linux terminal?

  • tc the sussy baka says:

    lol me too but ik it’s not for hacking, i usually just make sure my battery discharges 0.06 % in 30 seconds, lol

  • tell meeeplzzzzzzzz says:

    how do u clear ur search history with crosh

  • Jeff Tree says:

    Task manager?

    • tell me plzz says:

      how do u clear ur search history with crosh


    what is the # for bt_console?

  • coding is fun (: says:

    it is easy it’s hard to explain but doesn’t mean I don’t know how to do it

  • juicymumma says:

    top type top in crosh

    • some dude on the internet says:

      help top


  • ThisIsThatKidWhoWantsToTurnOffTheSchoolWifi says:

    Is anyone else trying to figure out how to turn off the wifi at school with this :]

    • buur3940 says:

      I did >:)

      • wurst says:


      • Ben Graham says:


      • reply at giderobi27@midlandps.org says:

        how do i turn off the school wifi

      • STUCKATHOME says:

        he just lies

      • ghost says:

        how did you turn off the wifi

    • Hecker says:

      You dont use chrome os – you use a rooted android phone with kali nethunter installed

  • QuestionableQuestion says:

    I know I am noob. But can someone exlain how to reset modem with crosh? I have tried many times. EX:
    modem reset -modem (Ip address)
    is that how you do it please help I am noob

  • Beet meat lover says:

    How to hack GoGurt so that it is more fresh milks or good cheeses instead of stinky spoiled milks?

  • obfed#0001 says:

    Lol just basic networking cmds nothing diff

  • ?『ĐØ₮ (ĐɆ℣⋟Ⅻ)』 ? says:

    play dotarras.glitch.me!!!
    or dotagar.glitch.me!!!

  • Taco says:

    How to hack GoGurt so that it is more fresh milks or good cheeses instead of stinky spoiled milks?

  • It drips says:

    How are hack GoGurt so that it is more fresh milks or good cheeses instead of stinky spoiled milks?

  • bill says:

    how h hell do you unblock things on a school chrome book

    • oscar mendex says:

      try changing the serial number on your computer. it will get rid of all administration on your computer. be careful though because it will wipe everything and you will have to download any necessary school programs. you can find out how on YouTube or other websites.

      • player1 says:

        and how do i do that

      • owen says:

        how do i do it? pls

  • polog says:

    How do I block securly, someone pls tell me

  • Rosa parks says:

    POV: your in school =( (=

  • oofers says:

    try the command rollback

    • DDDDDD says:

      it doesnt work for me…

  • Landen says:

    it’s very cool but can you disable GoGuardian?

    • alex says:

      yea but your gonna have to figure that one out for yourself.

Leave a Reply