Catalog / Chrome OS Terminal Cheatsheet
Chrome OS Terminal Cheatsheet
A handy reference guide for using the Chrome OS Terminal, covering essential commands, shortcuts, and configurations for developers and system administrators.
Basic Commands and Navigation
Essential Commands
|
Print working directory (shows the current directory path). |
|
List directory contents (files and directories). |
|
Change directory (navigate to a different directory). |
|
Create a new directory. |
|
Remove an empty directory. |
|
Remove files. |
|
Copy files or directories. |
|
Move or rename files or directories. |
File Operations
|
Concatenate and display file content. |
|
View file content page by page. |
|
Display the first few lines of a file. |
|
Display the last few lines of a file. |
|
Simple text editor for creating and modifying files. |
|
Change file permissions. |
|
Change file owner. |
Package Management and System Info
Package Management (Debian/Ubuntu)
|
Update the package lists. |
|
Upgrade installed packages. |
|
Install a new package. |
|
Remove a package. |
|
Remove automatically all unused packages. |
|
Search for a package. |
System Information
|
Display kernel information. |
|
Display Linux distribution information. |
|
Display disk space usage. |
|
Display memory usage. |
|
Display system processes. |
|
Improved interactive process viewer (if installed). |
|
Display CPU information. |
Networking
|
Show network interfaces and IP addresses. |
|
Test network connectivity to a host. |
|
Display network connections and listening ports. |
Shortcuts and Productivity
Keyboard Shortcuts
|
Reopen last closed tab. |
|
Switch to the next tab. |
|
Switch to the previous tab. |
|
Zoom in. |
|
Zoom out. |
|
Reset zoom. |
|
Interrupt a running process. |
Terminal Customization
Right-click on the terminal window and select ‘Settings’ to customize:
|
Edit
|
Shell Navigation
|
Recall previous command. |
|
Recall next command. |
|
Search command history. |
|
Autocomplete file or command name. |
Advanced Usage and Crostini
Working with Crostini (Linux Environment)
Crostini allows running Linux applications on Chrome OS. Access it through the Terminal app.
|
Troubleshooting
|
Advanced Commands
|
Search for patterns in files. |
|
Find files based on various criteria. |
|
Build and execute command lines from standard input. |
|
Remote file synchronization. |
|
Terminal multiplexers for managing multiple terminal sessions. |