CROSH commands
The table below lists the available commands in Chrome Shell (CROSH).
Table 16. Help commands
Command Purpose
exit Exits the CROSH Shell.
help Displays this help.
help_advanced Displays the help for more advanced commands, used for
debugging.
ping [-c count] [-i interval] [-n] [-s packetsize] [-W waittime] — Sends
ICMP ECHO_REQUEST packets to a network host. If is "gw", then
the next hop gateway for the default route is used. It works just like
the ping command on other operating systems. Press <Clrt> + <C>
to stop the ping process or halt any other command in CROSH.
ssh [optional args...] — Starts the ssh subsystem if invoked without any
arguments. "ssh <user> <host>", "ssh <user> <host> <port>", "ssh<
user>@<host>". or "ssh <user>@<host> <port>" connect without
entering the subsystem
ssh_forget_host Removes a host from the list of known ssh hosts. This command
displays a menu of known hosts and prompts for the host to forget.
top Sets the chaps debug logging level. No arguments start verbose
logging
Table 17. Advanced help command
Command Purpose
battery_test[<test length>] Tests the battery discharge rate for a given number of seconds. No
argument defaults to a 300 s test.
bt_console [<agent capability>] Enters a Bluetooth debugging console. The Optional argument
species the capability of a pairing agent the console provides; see
the Bluetooth Core specication for valid options.
chaps_debug [start|stop|<log_level>] Sets the chaps debug logging level. No arguments will start verbose
logging.
connectivity Shows connectivity status.
experimental_storage<status|enable|disable> Enables or disables experimental storage features.
_debug [<tag_expr>] [--help] [--list_valid_tags] [--reset] Adds and removes imam debugging tags.
memory_test Performs extensive memory testing on the available free memory.
modem <command> [args...] Interacts with the 3G modem. Run modem help for detailed help.
modem_set_carrier carrier-name Congures the modem for the specied carrier.
network_diag[--date] [--link] [--show-macs] [--wi] [--help] [--wi-
mon] <host>
Performs a suite of network diagnostics and saves a copy of the
output to your download directory
network_logging <wi|cellular|ethernet> Enables a predened set of tags useful for debugging the specied
device.
p2p_update [enable | disable] Enables or disables the peer-to-peer (P2P) sharing of updates over
the local network. This will both attempt to get updates from other
Diagnostics and Troubleshooting 69