Unleash the full potential of your Linux system with this expert-curated collection of essential commands, advanced techniques, and professional workflow tips.
List directory contents
ls -lah💡 Pro Tip: Add alias ll='ls -alF' to .bashrc
Search for files
find / -name '*.conf'Advanced file sync
rsync -avz source/ user@remote:dest/💡 Pro Tip: Great for backups and migrations
Create links
ln -s /path/file linknameArchive files
tar -czf archive.tar.gz folder/Create an empty file or update the timestamp
touch file.txtInteractive process viewer
htop💡 Pro Tip: F2 to configure display
Systemd logs viewer
journalctl -u nginx --since '1h ago'List open files
lsof -i :80Kernel ring buffer
Show how long the system has been running
uptimeDisplay memory usage
free -mShow disk space usage
df -hDisplay running processes
topPattern search
grep -rin 'error' /var/logText processing
awk '{sum+=$1} END{print sum}' data.txtJSON processor
curl api | jq '.data[].name'Unique entries
cat log | sort | uniq -cRemove sections from each line of files
cut -d ' ' -f 1 file.txtMerge lines of files
paste file1.txt file2.txtCount lines, words, and characters in files
wc -l file.txtSecure shell
ssh -i ~/.ssh/key.pem user@host💡 Pro Tip: Use ssh-copy-id for key auth
Network sniffer
tcpdump -i eth0 port 80DNS lookup
dig +short example.com ANetwork stats
netstat -tulpnDownload files from the web
wget https://example.com/file.zipTransfer data from or to a server
curl -LO https://example.com/file.zipSignal processes
kill -9 1234💡 Pro Tip: Use kill -l to list signals
Run persistent
nohup ./script.sh &Schedule tasks
💡 Pro Tip: Use crontab -e to edit jobs
Service management
systemctl restart nginxCombine commands with && or || operators:
make && make install || echo 'Build failed'Reuse commands efficiently:
Create shortcuts in ~/.bashrc:
alias update='sudo apt update && sudo apt upgrade'Ready to become a terminal wizard?