Terminal Cheatsheet
terminal
cheatsheet
guide
A quick reference guide for common terminal commands.
Zsh/Bash (
Mac or
Linux)
Since everyone in this course will be using the same cloud environment on Nuvolos, we will all be using the same bash
shell.
File Operations
cat [file]
: Display the contents of a filecp [source] [destination]
: Copy a file or directorymv [source] [destination]
: Move or rename a file or directorygrep [pattern] [file]
: Search for a pattern in a filechmod [permissions] [file]
: Change file permissions
Process Management
ps
: List running processeskill [PID]
: Terminate a processtop
: Display system activity and process information
PowerShell (
Win)
You will not need to use PowerShell in this course, but it is the equivalent of bash
on Windows. Here are some of the equivalent commands for your reference.
File Operations
gc [file]
: Get the contents of a filecp [source] [destination]
: Copy a file or directorymv [source] [destination]
: Move or rename a file or directorysls [pattern] [file]
: Search for a pattern in a fileicacls [file] /grant [permissions]
: Change file permissions
Process Management
ps
: List running processeskill [PID]
: Terminate a processtasklist
: Display running tasks