Converter Web ToolsConverter WebTools

Linux Commands Cheat Sheet

This Linux commands cheat sheet covers essential terminal commands for files, navigation, permissions, processes, searching and networking — handy for beginners and as a quick bash reference.

Files & navigation

CommandWhat it does
ls -laList files (incl. hidden) in long form
cd <dir>Change directory
pwdPrint working directory
cp <src> <dst>Copy
mv <src> <dst>Move or rename
rm <file>Delete a file
rm -r <dir>Delete a directory
mkdir <dir>Make a directory
cat <file>Print file contents

Permissions

CommandWhat it does
chmod 755 <file>Set permissions
chown user:group <file>Change owner
sudo <cmd>Run as superuser

Processes & system

CommandWhat it does
ps auxList running processes
topLive process monitor
kill <pid>Stop a process
df -hDisk space usage
du -sh <dir>Size of a directory
free -hMemory usage

Search & network

CommandWhat it does
grep "text" <file>Search inside files
find . -name "*.js"Find files by name
curl <url>Fetch a URL
wget <url>Download a file
ssh user@hostConnect to a server
tar -czf out.tar.gz <dir>Create a compressed archive

Related tools & charts