Your Chromebook comes with a built-in Chrome OS terminal. If you enable Linux, there is a Linux-based terminal as well. Let me show you how to use these command prompt and terminal options on your Chromebook.
Using the Crosh Shell
The Crosh shell is the easiest to access. Use the following keyboard shortcut:
CTRL + ALT + T
This opens the Chrome OS developer shell.
Commands for Crosh Shell
What can you do using the Crosh Shell?
|Lists the available Crosh commands.|
|Lists the advanced Crosh commands.|
|Provides help for a specific Crosh command.|
|Shows how long the system has been running and the number of users logged in.|
|Sets the system time manually.|
|Checks the connection status and more details (works on some devices).|
|Displays the IPv4 address of the Chromebook.|
|Displays the IPv6 address of the Chromebook.|
|Sends ICMP ECHO_REQUEST packets to a network host.|
|Shows the system load and a list of running processes.|
|Tests the battery health and reports the battery usage over the specified number of seconds.|
|Performs extensive memory testing on the available free memory.|
|Rolls back to the previous Chrome OS version (will powerwash the device).|
|Opens a debugging console for the Bluetooth module.|
Using the Terminal App
If you want an advanced terminal app on your Chromebook, you can use the Terminal app.
From the menu, search and find the Terminal app.
If you haven’t enabled Linux on your Chromebook, you will be asked to set up Crostini.
Complete Linux setup and launch the Terminal app again.
When the setup is complete, the Terminal app appears.
You can cuztomize the Terminal app by changing the background color and add a background image. Click Terminal Settings to start customizing.
Apart from changing the way your Chromebook Terminal looks, the terminal settings page give you plenty of options to change the way the app works.
Here is a sample list of commands that you can use on the Linux Terminal on your Chromebook.
|Installs a package from the APT package manager.|
|Updates the list of available packages from the APT package manager.|
|Upgrades all installed packages to the latest versions.|
|Elevates the privileges of the current command.|
|Changes the current working directory.|
|Lists the contents of the current directory.|
|Creates a new directory.|
|Removes an empty directory.|
|Creates a new empty file.|
|Removes a file.|
|Copies a file or directory.|
|Moves a file or directory.|
|Opens a file in the Nano text editor.|
|Opens a file in the Vim text editor.|
|Searches for a pattern in a file.|
|Searches for files and directories matching a pattern.|
|Creates a TAR archive of the specified files.|
|Extracts the contents of a TAR archive.|
|Creates a ZIP archive of the specified files.|
|Extracts the contents of a ZIP archive.|
You are now set to use terminal on your Chromebook. If you are a Linux pro-user, this will open a host of opportunities for you.