Linux Commands Cheatsheet
The terminal commands that cover the vast majority of daily work, grouped by task. For the permission numbers, the chmod calculator pairs well.
Viewing & searching
Print a file’s contents.
Page through a file interactively.
Follow a file as it grows (logs).
Search recursively for text.
Find files by name pattern.
Permissions
Set read/write/execute permissions.
Change owner and group.
Run a command as superuser.
Processes
List running processes.
Live view of processes and resource use.
Terminate a process; kill -9 forces it.
Manage background and foreground jobs.
Networking
Make an HTTP request from the terminal.
Test connectivity to a host.
Show listening ports and sockets.
Copy files over SSH.