CROSH commands
The table below lists the available commands in Chrome Shell (CROSH).
Table 13. Help commands
Command
Purpose
exit
Exits the CROSH Shell.
help
Displays this help.
help_advanced
Displays the help for more advanced commands, which are used
for debugging.
ping
[-c count] [-i interval] [-n] [-s packetsize] [-W waittime] — Sends
ICMP ECHO_REQUEST packets to a network host. If it is "gw",
then the next hop gateway for the default route is used. It works
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 14. 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
specifies the capability of a pairing agent the console provides; see
the
Bluetooth Core
specification 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.
ff_debug
[<tag_expr>] [--help] [--list_valid_tags] [--reset]
Adds and removes flimflam 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
Configures the modem for the specified carrier.
network_diag
[--date] [--link] [--show-macs] [--wifi] [--help] [--
wifi-mon] <host>
Performs a suite of network diagnostics and saves a copy of the
output to your download directory
network_logging
<wifi|cellular|ethernet>
Enables a predefined set of tags useful for debugging the specified
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
peers in the network and shares the downloaded updates with
Troubleshooting
63