Linux Command quick cheat sheet

Firstly, I like to mention the awesome book written by William Shotts called “The Linux Command Line“. There are tons of commands but which ones are important? The author did a great job of categorizing it. Below is a quick cheat sheet.

Files
Help
Filters
Permissions
Disk

cp – copy files and directories
mv – move and rename files
rm – remove files and directories
ln – create a link
less – displays the contents of a file or a command output, one page at a time

pwd –  prints the path of the working directory
ls – to list files and directories
cd – change to a working directory
mkdir – create a new directory

locate – Find Files the Easy Way
find – Find Files the Hard Way
touch – create a file without any content.

Networking
Archive
Text
Process
System

ping – Send a Special Packet to a Network Host
traceroute – Trace the Path of a Network Packet
netstat – Examine Network Settings and Statistics
wget – Non-interactive Network Downloader
ssh – Securely Log in to Remote Computers

Leave a Reply

Your email address will not be published.