ls -laList all files and directories with detailed information including hidden files.
cd [directory]Change current directory to the specified path.
pwdPrint the current working directory path.
cp [source] [destination]Copy files or directories from source to destination.
mv [source] [destination]Move or rename files and directories.
rm -rf [file/directory]Remove files or directories recursively and forcefully.
mkdir -p [directory]Create a new directory including parent directories if needed.
touch [filename]Create a new empty file or update the timestamp of an existing file.
find [path] -name [pattern]Search for files and directories matching the specified pattern.
ln -s [target] [link]Create a symbolic link to a file or directory.
uname -aDisplay all system information including kernel version.
df -hShow disk space usage in human-readable format.
du -sh [directory]Display the total size of a directory in human-readable format.
free -hDisplay memory usage in human-readable format.
uptimeShow how long the system has been running and load averages.
whoamiDisplay the current logged-in username.
hostnameShow or set the system's hostname.
lsb_release -aDisplay Linux distribution information.
ps auxDisplay all running processes with detailed information.
topDisplay real-time system resource usage and running processes.
htopInteractive process viewer with better UI than top.
kill [PID]Terminate a process by its process ID.
killall [process-name]Terminate all processes with the specified name.
bgResume a suspended job in the background.
fgBring a background job to the foreground.
jobsList all jobs running in the current shell session.
nohup [command] &Run a command immune to hangups, with output to a non-tty.
ping [host]Send ICMP echo requests to test network connectivity.
curl [url]Transfer data from or to a server using various protocols.
wget [url]Download files from the web non-interactively.
netstat -tulnDisplay network connections, routing tables, and listening ports.
ss -tulnModern replacement for netstat to investigate sockets.
ifconfigConfigure or display network interface parameters.
ip addr showDisplay IP addresses and network interfaces.
ssh [user]@[host]Connect to a remote host via SSH protocol.
scp [source] [user]@[host]:[destination]Securely copy files between hosts over SSH.
chmod 755 [file]Change file permissions (rwxr-xr-x).
chmod +x [file]Add execute permission to a file.
chown [user]:[group] [file]Change file owner and group.
chgrp [group] [file]Change the group ownership of a file.
umaskDisplay or set the default file creation permissions mask.
sudo [command]Execute a command with superuser privileges.
cat [file]Display the contents of a file.
less [file]View file contents with pagination and search capabilities.
head -n 10 [file]Display the first 10 lines of a file.
tail -n 10 [file]Display the last 10 lines of a file.
tail -f [file]Follow file updates in real-time (useful for logs).
grep [pattern] [file]Search for a pattern in files.
grep -r [pattern] [directory]Recursively search for a pattern in all files within a directory.
sed 's/old/new/g' [file]Stream editor for filtering and transforming text.
awk '{print $1}' [file]Pattern scanning and text processing language.
wc -l [file]Count the number of lines in a file.
tar -czf [archive.tar.gz] [directory]Create a compressed tar archive.
tar -xzf [archive.tar.gz]Extract a compressed tar archive.
zip -r [archive.zip] [directory]Create a zip archive recursively.
unzip [archive.zip]Extract a zip archive.
mount [device] [mountpoint]Mount a filesystem to a directory.
umount [mountpoint]Unmount a filesystem.
fdisk -lList all disk partitions.
lsblkList information about block devices.
Find commands quickly by keyword.
Examples show common real-world usage.
Group commands by function and task.
All lookups stay in your browser.
Recall commands for file, process, and network tasks.
Quickly find syntax for scripting and automation.
Use commands to inspect logs and diagnose issues.
Learn common CLI patterns and flags.
Type a command like ls, grep, or awk.
Check the description and example usage.
Use the command with the recommended flags.