Advertisement
shornby

crosh Command List 2015.txt

May 8th, 2015
940
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.72 KB | None | 0 0
  1. crosh Full Command List 2015 - the Chrome OS Shell (Ctrl-Alt-T)
  2. ----------------------------------------------------------------
  3. battery_firmware <info|check|update>
  4. info : query battery info
  5. check : checks AC Adapter is connnected or not.
  6. also checks the battery firmware is the latest or not.
  7. update : trigger battery firmware update
  8.  
  9. battery_test [<test length>]
  10. Tests battery discharge rate for given number of seconds. Without an argument,
  11. defaults to 300 seconds.
  12.  
  13. bt_console [<agent capability>]
  14. Enters a Bluetooth debugging console. Optional argument specifies the
  15. capability of a pairing agent the console will provide; see the Bluetooth
  16. Core specification for valid options.
  17.  
  18. chaps_debug [start|stop|<log_level>]
  19. Sets the chapsd logging level. No arguments will start verbose logging.
  20.  
  21. connectivity
  22. Shows connectivity status. "connectivity help" for more details
  23.  
  24. exit
  25. Exit crosh.
  26.  
  27. ff_debug [<tag_expr>] [--help] [--list_valid_tags] [--reset]
  28. Add and remove flimflam debugging tags.
  29.  
  30. help
  31. Display this help.
  32.  
  33. help_advanced
  34. Display the help for more advanced commands, mainly used for debugging.
  35.  
  36. inputcontrol
  37. Manually adjust advanced touchpad and mouse settings. Run
  38. "inputcontrol -h" for full list of options.
  39.  
  40. memory_test
  41. Performs extensive memory testing on the available free memory.
  42.  
  43. modem <command> [args...]
  44. Interact with the 3G modem. Run "modem help" for detailed help.
  45.  
  46. modem_set_carrier carrier-name
  47. Configures the modem for the specified carrier.
  48.  
  49. network_diag [--date] [--flimflam] [--link] [--show-macs] [--wifi] [--help]
  50. [--wifi-mon] <host>
  51. A function that performs a suite of network diagnostics. Saves a copy
  52. of the output to your download directory.
  53.  
  54. network_logging <wifi | cellular | ethernet>
  55. A function that enables a predefined set of tags useful for
  56. debugging the specified device.
  57.  
  58. p2p_update [enable|disable]
  59. Enables or disables the peer-to-peer (P2P) sharing of updates over the local
  60. network. This will both, attempt to get updates from other peers in the
  61. network and share the downloaded updates with them. Run this command without
  62. arguments to see the current state.
  63.  
  64. ping [-c count] [-i interval] [-n] [-s packetsize] [-W waittime] <destination>
  65. Send ICMP ECHO_REQUEST packets to a network host. If <destination> is "gw"
  66. then the next hop gateway for the default route is used.
  67.  
  68. rlz < status | enable | disable >
  69. Enable or disable RLZ.
  70.  
  71. rollback
  72. Attempt to rollback to the previous update cached on your system. Only
  73. available on non-stable channels and non-enterprise enrolled devices. Please
  74. note that this will powerwash your device.
  75.  
  76. route [-6]
  77. Display the routing tables.
  78.  
  79. set_apn [-n <network-id>] [-u <username>] [-p <password>] <apn>
  80. Set the APN to use when connecting to the network specified by <network-id>.
  81. If <network-id> is not specified, use the network-id of the currently
  82. registered network.
  83.  
  84. set_apn -c
  85. Clear the APN to be used, so that the default APN will be used instead.
  86.  
  87. set_arpgw <true | false>
  88. Turn on extra network state checking to make sure the default gateway
  89. is reachable.
  90.  
  91. set_cellular_ppp [-u <username>] [-p <password>]
  92. Set the PPP username and/or password for an existing cellular connection.
  93. If neither -u nor -p is provided, show the existing PPP username for
  94. the cellular connection.
  95.  
  96. set_cellular_ppp -c
  97. Clear any existing PPP username and PPP password for an existing cellular
  98. connection.
  99.  
  100. set_time [<time string>]
  101. Sets the system time if the the system has been unable to get it from the
  102. network. The <time string> uses the format of the GNU coreutils date command.
  103.  
  104. set_wake_on_lan <true | false>
  105. Enable or disable Wake on LAN for Ethernet devices. This command takes
  106. effect after re-connecting to Ethernet and is not persistent across system
  107. restarts.
  108.  
  109. storage_test_1
  110. Performs a short offline SMART test.
  111.  
  112. storage_test_2
  113. Performs an extensive readability test.
  114.  
  115. syslog <message>
  116. Logs a message to syslog.
  117.  
  118. time_info
  119. Returns the current synchronization state for the time service.
  120.  
  121. top
  122. Run top.
  123.  
  124. tpm_status
  125. Prints TPM status information.
  126.  
  127. tracepath [-n] <destination>[/port]
  128. Trace the path/route to a network host.
  129.  
  130. update_over_cellular [enable|disable]
  131. Enables or disables the auto updates over cellular networks. Run without
  132. arguments to see the current state.
  133.  
  134. upload_crashes
  135. Uploads available crash reports to the crash server.
  136.  
  137. upload_devcoredumps [enable|disable]
  138. Enable or disable the upload of devcoredump reports.
  139.  
  140. wpa_debug [<debug_level>] [--help] [--list_valid_level] [--reset]
  141. Set wpa_supplicant debugging level.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement