How to access the terminal in ChromeOS

How to access the terminal in ChromeOS

ChromeOS has a terminal app which gives you access to a range of useful command line tools.

To access the terminal just press CTL+ALT+T anywhere from within ChromeOS. This will open the terminal app, known as the CROSH shell – short for Chrome Shell.

There’s a range of commands that you can run including PING and TRACEPATH – a traceroute alternative. Here’s a full list.

<br/>
battery_test [&lt;test length&gt;]<br/>
&nbsp;&nbsp;Tests battery discharge rate for given number of seconds. No argument will default to 300s test.

bt_console [&lt;agent capability&gt;]<br/>
&nbsp;&nbsp;Enters a Bluetooth debugging console. Optional argument specifies the capability of a pairing agent the console will provide; see the Bluetooth Core specification for valid options.

chaps_debug [start|stop|&lt;log_level&gt;]<br/>
&nbsp;&nbsp;Sets the chapsd logging level. No arguments will start verbose logging.

connectivity<br/>
&nbsp;&nbsp;Shows connectivity status. "connectivity help" for more details

experimental_storage &lt; status | enable | disable &gt;<br/>
&nbsp;&nbsp;Enable or disable experimental storage features.

ff_debug [&lt;tag_expr&gt;] [--help] [--list_valid_tags] [--reset]<br/>
&nbsp;&nbsp;Add and remove flimflam debugging tags.

memory_test<br/>
&nbsp;&nbsp;Performs extensive memory testing on the available free memory.

modem &lt;command&gt; [args...]<br/>
&nbsp;&nbsp;Interact with the 3G modem. Run "modem help" for detailed help.

modem_set_carrier carrier-name<br/>
&nbsp;&nbsp;Configures the modem for the specified carrier.

network_diag [--date] [--flimflam] [--link] [--show-macs] [--wifi] [--help] [--wifi-mon] &lt;host&gt;<br/>
&nbsp;&nbsp;A function that performs a suite of network diagnostics. Saves a copy of the output to your download directory.

network_logging &lt;wifi | cellular | ethernet&gt;<br/>
&nbsp;&nbsp;A function that enables a predefined set of tags useful for debugging the specified device.

p2p_update [enable|disable]<br/>
&nbsp;&nbsp;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 share the downloaded updates with them. Run this command without arguments to see the current state.

rlz &lt; status | enable | disable &gt;<br/>
&nbsp;&nbsp;Enable or disable RLZ.

rollback<br/>
&nbsp;&nbsp;Attempt to rollback to the previous update cached on your system. Only available on non-stable channels and non-enterprise enrolled devices. Please note that this will powerwash your device.

route [-n] [-6]<br/>
&nbsp;&nbsp;Display the routing tables.

set_apn [-n &lt;network-id&gt;] [-u &lt;username&gt;] [-p &lt;password&gt;] &lt;apn&gt;<br/>
&nbsp;&nbsp;Set the APN to use when connecting to the network specified by &lt;network-id&gt;.
&nbsp;&nbsp;If &lt;network-id&gt; is not specified, use the network-id of the currently registered network.

set_apn -c<br/>
&nbsp;&nbsp;Clear the APN to be used, so that the default APN will be used instead.

set_arpgw &lt;true | false&gt;<br/>
&nbsp;&nbsp;Turn on extra network state checking to make sure the default gateway is reachable.

set_cellular_ppp [-u &lt;username&gt;] [-p &lt;password&gt;]<br/>
&nbsp;&nbsp;Set the PPP username and/or password for an existing cellular connection. If neither -u nor -p is provided, show the existing PPP username for the cellular connection.

set_cellular_ppp -c<br/>
&nbsp;&nbsp;Clear any existing PPP username and PPP password for an existing cellular connection.

set_time [&lt;time string&gt;]<br/>
&nbsp;&nbsp;Sets the system time if the the system has been unable to get it from the network. The &lt;time string&gt; uses the format of the GNU coreutils date command.

sound &lt;command&gt; &lt;argument&gt;<br/>
&nbsp;&nbsp;Low level sound configuration. Can be used to play/record audio samples and enable beam forming on Pixel.
&nbsp;&nbsp;"sound beamforming &lt;on|off&gt;" will enable/disable the feature.
&nbsp;&nbsp;"sound record [duration]" will start recording.
&nbsp;&nbsp;"sound play &lt;filename&gt;" will play the recorded audio samples.

storage_status<br/>
&nbsp;&nbsp;Reads storage device SMART health status, vendor attributes, and error log.

storage_test_1<br/>
&nbsp;&nbsp;Performs a short offline SMART test.

storage_test_2<br/>
&nbsp;&nbsp;Performs an extensive readability test.

syslog &lt;message&gt;<br/>
&nbsp;&nbsp;Logs a message to syslog.

time_info<br/>
&nbsp;&nbsp;Returns the current synchronization state for the time service.

tpcontrol {status|taptoclick [on|off]|sensitivity [1-5]|set &lt;property&gt; &lt;value&gt;}
tpcontrol {syntp [on|off]}
<br/>
&nbsp;&nbsp;Manually adjust advanced touchpad settings.

tracepath [-n] &lt;destination&gt;[/port]<br/>
&nbsp;&nbsp;Trace the path/route to a network host.

update_over_cellular [enable|disable]<br/>
&nbsp;&nbsp;Enables or disables the auto updates over cellular networks. Run without arguments to see the current state.

upload_crashes<br/>
&nbsp;&nbsp;Uploads available crash reports to the crash server.

wpa_debug [&lt;debug_level&gt;] [--help] [--list_valid_level] [--reset]<br/>
&nbsp;&nbsp;Set wpa_supplicant debugging level.

xset m [acc_mult[/acc_div] [thr]]
xset m default<br/>
&nbsp;&nbsp;Tweak the mouse acceleration rate.

xset r rate [delay [rate]]<br/>
&nbsp;&nbsp;Tweak autorepeat rates. The delay is the number of milliseconds before autorepeat starts. The rate is the number of repeats per second.
xset r [keycode] &lt;on|off&gt;
&nbsp;&nbsp;Turn autorepeat on/off. If keycode is specified, it affects only that key. If not specified, it affects global behavior.

Author

Oliver Marshall
Oliver works as a Director at Oakson who provide absolutely awesome IT support in Brighton, UK. Out of hours he's a runner with a limp, has a board game addiction and a owns a dog that looks like a badger.
Show Buttons
Hide Buttons

Stay in touch

or
Subscribe to my weekly newsletter

If you enjoyed this article then why not like my page.