Loading tool…
cheatsheet
ls -lList files in long format
cd /path/to/dirChange directory
pwdPrint working directory
mkdir new_dirCreate a new directory
rm file.txtRemove a file
rm -r directory/Remove a directory recursively
cp source.txt dest.txtCopy a file
mv oldname.txt newname.txtMove/rename a file
cat file.txtConcatenate and display file content
head file.txtDisplay the first 10 lines of a file
tail file.txtDisplay the last 10 lines of a file
grep 'pattern' file.txtSearch for a pattern in a file
find . -name 'file.txt'Find files by name in current directory
du -sh /path/to/dirDisplay disk usage of a directory
df -hReport file system disk space usage
chmod +x script.shMake a script executable
chmod 755 file.txtSet read/write/execute for owner, read/execute for group/others
chown user:group file.txtChange file owner and group
ps auxDisplay running processes
topDisplay Linux processes (real-time)
kill PIDTerminate a process by ID
killall process_nameTerminate all processes by name
bgPut a stopped job in the background
fgBring a background job to the foreground
ip aShow IP addresses and network interfaces
ping google.comTest network connectivity
ssh user@hostConnect to a remote server via SSH
scp local_file.txt user@host:/remote/pathSecurely copy files over SSH
wget URLDownload files from the web
curl -O URLDownload a file using cURL
uname -aDisplay system information
free -hDisplay amount of free and used memory
lscpuDisplay CPU information
lsblkList block devices (disks)
Get new cheatsheets & tools in your inbox
No spam — just new releases, occasionally.