CTRL+AMove to beginning of line
CTRL+EMove to end of line
CTRL+CTerminate current command
CTRL+ZSuspend current command (fg to resume)
CTRL+RSearch command history
CTRL+LClear screen
!!Repeat last command
!<n>Execute command number n from history
historyShow command history
lsList files in directory
ls -laList all files including hidden ones
cd <dir>Change directory
pwdPrint working directory
mkdir <dir>Create directory
rm <file>Remove file
rm -rf <dir>Remove directory and contents
cp <src> <dst>Copy file/directory
mv <src> <dst>Move/rename file/directory
touch <file>Create empty file
find . -name <name>Search for files
cat <file>Display file content
less <file>View file with pagination
head <file>Show first lines
tail <file>Show last lines
tail -f <file>Follow file as it grows
grep <pattern> <file>Search pattern in file
grep -r <pattern> <dir>Search recursively in directory
wc <file>Count lines, words, characters
sort <file>Sort lines
uniq <file>Remove duplicate lines
diff <file1> <file2>Compare files
uname -aShow kernel information
whoamiPrint current user
hostnameShow system hostname
uptimeShow system uptime
df -hShow disk usage
du -sh <dir>Show directory size
topShow running processes
ps auxShow all processes
kill <pid>Terminate process by PID
killall <name>Terminate process by name
chmod 755 <file>Set rwxr-xr-x permissions
chmod +x <file>Make file executable
chown user:group <file>Change owner and group
chmod -R 644 <dir>Recursively set permissions
umaskShow default file creation mask
tar -czvf archive.tar.gz <dir>Create tar.gz archive
tar -xzvf archive.tar.gzExtract tar.gz archive
zip -r archive.zip <dir>Create zip archive
unzip archive.zipExtract zip archive
gzip <file>Compress file with gzip
gunzip <file>.gzDecompress gzip file
ping <host>Ping host
ssh user@hostSSH to host
scp <file> user@host:/pathCopy file over SSH
curl <url>Transfer data from URL
wget <url>Download file
netstat -tulnShow listening ports
ifconfigShow network interfaces
nslookup <domain>Query DNS
VAR=valueSet variable
export VAR=valueSet environment variable
echo $VARPrint variable value
envShow all environment variables
unset VARRemove variable
source <file>Execute file in current shell