← Home

🐧Linux Commands

⌘K
🤖
Claude Code AI Tools
🤗
Hugging Face AI Tools
🦜
LangChain AI Tools
🧠
Keras AI Tools
🦙
Ollama AI Tools
🐍
Python Programming Languages
🟨
JavaScript Programming Languages
🔷
TypeScript Programming Languages
⚛️
React Programming Languages
🐹
Go Programming Languages
🦀
Rust Programming Languages
📊
MATLAB Programming Languages
🗄️
SQL Programming Languages
⚙️
C/C++ Programming Languages
Java Programming Languages
🟣
C# Programming Languages
🍎
Swift Programming Languages
🟠
Kotlin Programming Languages
Next.js Programming Languages
💚
Vue.js Programming Languages
🔥
Svelte Programming Languages
🎨
Tailwind CSS Programming Languages
💚
Node.js Programming Languages
🌐
HTML Programming Languages
🎨
CSS/SCSS Programming Languages
🐘
PHP Programming Languages
💎
Ruby Programming Languages
🔴
Scala Programming Languages
📊
R Programming Languages
🎯
Dart Programming Languages
💧
Elixir Programming Languages
🌙
Lua Programming Languages
🐪
Perl Programming Languages
🅰️
Angular Programming Languages
🚂
Express.js Programming Languages
🐱
NestJS Programming Languages
🛤️
Ruby on Rails Programming Languages
◼️
GraphQL Programming Languages
🟪
Haskell Programming Languages
💚
Nuxt.js Programming Languages
🔷
SolidJS Programming Languages
htmx Programming Languages
💻
VS Code Development Tools
🧠
PyCharm Development Tools
📓
Jupyter Development Tools
🧠
IntelliJ IDEA Development Tools
💚
Neovim Development Tools
🔮
Emacs Development Tools
🔀
Git DevOps & CLI
🐳
Docker DevOps & CLI
☸️
Kubernetes DevOps & CLI
☁️
AWS CLI DevOps & CLI
🔄
GitHub Actions DevOps & CLI
🐧
Linux Commands DevOps & CLI
💻
Bash Scripting DevOps & CLI
🌐
Nginx DevOps & CLI
📝
Vim DevOps & CLI
🔨
Makefile DevOps & CLI
🧪
Pytest DevOps & CLI
🪟
Windows DevOps & CLI
📦
Package Managers DevOps & CLI
🍎
macOS DevOps & CLI
🏗️
Terraform DevOps & CLI
🔧
Ansible DevOps & CLI
Helm DevOps & CLI
🔨
Jenkins DevOps & CLI
🔥
Prometheus DevOps & CLI
📊
Grafana DevOps & CLI
💻
Zsh DevOps & CLI
🐟
Fish Shell DevOps & CLI
💙
PowerShell DevOps & CLI
🔄
Argo CD DevOps & CLI
🔀
Traefik DevOps & CLI
☁️
Azure CLI DevOps & CLI
☁️
Google Cloud CLI DevOps & CLI
📟
tmux DevOps & CLI
🔧
jq DevOps & CLI
✂️
sed DevOps & CLI
📊
awk DevOps & CLI
🌊
Apache Airflow DevOps & CLI
🔢
NumPy Databases & Data
🐼
Pandas Databases & Data
🔥
PyTorch Databases & Data
🧠
TensorFlow Databases & Data
📈
Matplotlib Databases & Data
🐘
PostgreSQL Databases & Data
🐬
MySQL Databases & Data
🍃
MongoDB Databases & Data
🔴
Redis Databases & Data
🔍
Elasticsearch Databases & Data
🤖
Scikit-learn Databases & Data
👁️
OpenCV Databases & Data
Apache Spark Databases & Data
🪶
SQLite Databases & Data
Supabase Databases & Data
🔵
Neo4j Databases & Data
📨
Apache Kafka Databases & Data
🐰
RabbitMQ Databases & Data
🔤
Regex Utilities
📝
Markdown Utilities
📄
LaTeX Utilities
🔐
SSH & GPG Utilities
🌐
curl & HTTP Utilities
📜
reStructuredText Utilities
🚀
Postman Utilities
🎬
FFmpeg Utilities
🖼️
ImageMagick Utilities
🔍
ripgrep Utilities
🔍
fzf Utilities
📗
Microsoft Excel Office Applications
📘
Microsoft Word Office Applications
📙
Microsoft PowerPoint Office Applications
📝
Hancom Hangul Hancom Office
📽️
Hancom Hanshow Hancom Office
📊
Hancom Hancell Hancom Office
📄
Google Docs Google Workspace
📊
Google Sheets Google Workspace
📽️
Google Slides Google Workspace
🔌
Cadence Virtuoso EDA & Hardware
⚙️
Synopsys EDA EDA & Hardware
💎
Verilog & VHDL EDA & Hardware
LTSpice EDA & Hardware
🔧
KiCad EDA & Hardware
📝
Notion Productivity
💎
Obsidian Productivity
💬
Slack Productivity
🎮
Discord Productivity
🎨
Figma Design Tools
📘
Confluence Atlassian
📋
Jira Atlassian
🃏
Jest Testing
Vitest Testing
🎭
Playwright Testing
🌲
Cypress Testing
🌐
Selenium Testing
💙
Flutter Mobile Development
📱
React Native Mobile Development
🍎
SwiftUI Mobile Development
📱
Expo Mobile Development
🐍
Django Web Frameworks
FastAPI Web Frameworks
🌶️
Flask Web Frameworks
🍃
Spring Boot Web Frameworks
🍸
Gin Web Frameworks
Vite Build Tools
📦
Webpack Build Tools
esbuild Build Tools
🐘
Gradle Build Tools
🪶
Maven Build Tools
🔧
CMake Build Tools
🎮
Unity Game Development
🤖
Godot Game Development
🔌
Arduino Embedded & IoT
🔍
Nmap Security
🐕
Datadog Monitoring
📖
Swagger/OpenAPI Documentation
No results found
EN KO

👁️ View & Edit

📖 View Files

cat <file> Display file content
cat -n <file> Display with line numbers
less <file> View file with pagination
more <file> View file (forward only)
head <file> Show first 10 lines
head -n 20 <file> Show first 20 lines
tail <file> Show last 10 lines
tail -f <file> Follow file updates
tail -n 50 <file> Show last 50 lines
wc <file> Count lines, words, chars
wc -l <file> Count lines only
diff <file1> <file2> Compare files
diff -u <f1> <f2> Unified diff format

✂️ Text Processing

sort <file> Sort lines
sort -r <file> Sort reverse
sort -n <file> Sort numerically
uniq <file> Remove duplicate lines
uniq -c <file> Count occurrences
cut -d: -f1 <file> Cut by delimiter, field 1
cut -c1-10 <file> Cut characters 1-10
awk '{print $1}' <file> Print first column
awk -F: '{print $1}' <file> Print with delimiter
sed 's/old/new/g' <file> Replace all occurrences
sed -i 's/old/new/g' <file> Replace in place
tr a-z A-Z Translate characters
xargs <cmd> Build command from stdin

🔐 Permissions & Users

🔑 File Permissions

chmod 755 <file> Set permissions (rwxr-xr-x)
chmod 644 <file> Set permissions (rw-r--r--)
chmod +x <file> Add execute permission
chmod -w <file> Remove write permission
chmod u+x <file> Add execute for owner
chmod g+w <file> Add write for group
chmod o-r <file> Remove read for others
chmod -R 755 <dir> Recursive permission change
chown <user> <file> Change owner
chown <user>:<group> <file> Change owner and group
chown -R <user> <dir> Recursive owner change
chgrp <group> <file> Change group
umask 022 Set default permissions

👥 Users & Groups

whoami Current username
id User and group IDs
id <user> Show user info
users Logged in users
who Who is logged in
w Who + what they are doing
last Login history
sudo <cmd> Run as superuser
sudo -u <user> <cmd> Run as another user
su - <user> Switch user
passwd Change password
useradd <user> Add user
useradd -m -s /bin/bash <user> Add user with home & shell
userdel -r <user> Delete user with home
usermod -aG <group> <user> Add user to group
groups <user> Show user groups

⚙️ Processes

📊 Process Management

ps List processes
ps aux All processes detailed
ps aux | grep <name> Find process by name
pgrep <name> Get PID by name
top Interactive process viewer
htop Better process viewer
kill <pid> Kill process by ID
kill -9 <pid> Force kill process
killall <name> Kill by name
pkill <pattern> Kill by pattern
bg Send to background
fg Bring to foreground
jobs List background jobs
<cmd> & Run in background
nohup <cmd> & Run immune to hangups
nice -n 10 <cmd> Run with priority
renice -n 10 -p <pid> Change process priority

🔧 Services (systemd)

Service Management

systemctl start <service> Start service
systemctl stop <service> Stop service
systemctl restart <service> Restart service
systemctl reload <service> Reload configuration
systemctl status <service> Check service status
systemctl enable <service> Enable at boot
systemctl disable <service> Disable at boot
systemctl is-active <service> Check if running
systemctl is-enabled <service> Check if enabled
systemctl list-units --type=service List all services
systemctl list-unit-files List unit files
systemctl daemon-reload Reload systemd
systemctl mask <service> Completely disable

📋 Logs (journalctl)

journalctl View all logs
journalctl -u <service> Logs for service
journalctl -f Follow logs
journalctl -f -u <service> Follow service logs
journalctl --since today Logs since today
journalctl --since "1 hour ago" Logs from last hour
journalctl -p err Error logs only
journalctl -b Logs since boot
journalctl -b -1 Previous boot logs
journalctl --disk-usage Show log disk usage
journalctl --vacuum-size=100M Reduce logs to 100MB

📦 Package Management

🟠 APT (Debian/Ubuntu)

apt update Update package list
apt upgrade Upgrade all packages
apt install <pkg> Install package
apt remove <pkg> Remove package
apt purge <pkg> Remove with config
apt autoremove Remove unused packages
apt search <name> Search packages
apt show <pkg> Show package info
apt list --installed List installed packages
dpkg -i <file>.deb Install .deb file
dpkg -l List installed (dpkg)

🔵 DNF/YUM (RHEL/Fedora)

dnf check-update Check for updates
dnf upgrade Upgrade all packages
dnf install <pkg> Install package
dnf remove <pkg> Remove package
dnf autoremove Remove unused
dnf search <name> Search packages
dnf info <pkg> Show package info
dnf list installed List installed
rpm -ivh <file>.rpm Install .rpm file
rpm -qa List all packages

💾 Disk & Storage

📊 Disk Information

df -h Disk space usage
df -i Inode usage
du -sh <dir> Directory size
du -sh * Size of each item
du -sh * | sort -h Size sorted
lsblk List block devices
lsblk -f List with filesystem
blkid Show block device UUIDs
fdisk -l List partitions

📁 Mount & Filesystem

mount Show mounted filesystems
mount /dev/sdb1 /mnt Mount device
mount -o loop file.iso /mnt Mount ISO file
umount /mnt Unmount
umount -l /mnt Lazy unmount
mkfs.ext4 /dev/sdb1 Create ext4 filesystem
mkfs.xfs /dev/sdb1 Create XFS filesystem
fsck /dev/sdb1 Check filesystem
/etc/fstab Permanent mount config

🗜️ Archive & Compression

📦 tar & Compression

tar -cvf archive.tar <dir> Create tar archive
tar -xvf archive.tar Extract tar archive
tar -czvf archive.tar.gz <dir> Create gzipped tar
tar -xzvf archive.tar.gz Extract gzipped tar
tar -cjvf archive.tar.bz2 <dir> Create bzip2 tar
tar -xjvf archive.tar.bz2 Extract bzip2 tar
tar -tvf archive.tar List tar contents
gzip <file> Compress with gzip
gunzip <file>.gz Decompress gzip
zip -r archive.zip <dir> Create zip archive
unzip archive.zip Extract zip archive
unzip -l archive.zip List zip contents

🌐 Network

📡 Network Commands

ip addr Show IP addresses
ip link Show network interfaces
ip route Show routing table
ifconfig Network interfaces (legacy)
ping <host> Check connectivity
ping -c 4 <host> Ping 4 times
traceroute <host> Trace packet route
netstat -tuln Show listening ports
ss -tuln Show listening ports (modern)
ss -p Show process using ports
host <domain> DNS lookup
nslookup <domain> DNS lookup
dig <domain> Detailed DNS lookup

📤 Transfer & Remote

curl <url> Fetch URL content
curl -O <url> Download file
curl -o <name> <url> Download with name
curl -I <url> Get headers only
wget <url> Download file
wget -c <url> Resume download
wget -r <url> Recursive download
scp <file> <user>@<host>:<path> Secure copy to remote
scp <user>@<host>:<file> . Copy from remote
scp -r <dir> <user>@<host>: Copy directory to remote
rsync -avz <src> <dst> Sync files efficiently
ssh <user>@<host> SSH connection
ssh -p <port> <user>@<host> SSH on custom port

Scheduled Tasks

📅 Crontab

crontab -e Edit crontab
crontab -l List cron jobs
crontab -r Remove all cron jobs
* * * * * cmd Every minute
0 * * * * cmd Every hour
0 0 * * * cmd Every day at midnight
0 0 * * 0 cmd Every Sunday
0 0 1 * * cmd First of month
*/5 * * * * cmd Every 5 minutes
0 9-17 * * 1-5 cmd 9-17 weekdays

📝 Cron Format

# Cron format:
# ┌───────────── minute (0-59)
# │ ┌───────────── hour (0-23)
# │ │ ┌───────────── day of month (1-31)
# │ │ │ ┌───────────── month (1-12)
# │ │ │ │ ┌───────────── day of week (0-6, Sunday=0)
# │ │ │ │ │
# * * * * * command

# Examples:
0 2 * * * /backup.sh # Daily at 2 AM
*/10 * * * * /check.sh # Every 10 minutes
0 0 * * 0 /weekly.sh # Weekly on Sunday

💻 System Info

🖥️ System Information

uname -a System information
uname -r Kernel version
hostname Show hostname
hostnamectl Detailed host info
uptime System uptime
date Current date/time
timedatectl Time and timezone
cal Show calendar
free -h Memory usage
lscpu CPU information
lsmem Memory information
lspci List PCI devices
lsusb List USB devices
dmesg Kernel messages
dmesg | tail Recent kernel messages

🌍 Environment

env Show environment variables
printenv Print environment
echo $PATH Show PATH variable
export VAR=value Set environment variable
unset VAR Remove variable
source ~/.bashrc Reload bash config
alias ll="ls -la" Create alias
alias List all aliases

💡 Tips

Shortcuts & Pipes

Ctrl + C Cancel current command
Ctrl + Z Suspend current process
Ctrl + D Exit shell / EOF
Ctrl + L Clear screen
Ctrl + R Search command history
Ctrl + A Go to line start
Ctrl + E Go to line end
Tab Auto-complete
cmd1 | cmd2 Pipe output to next
cmd > file Redirect output to file
cmd >> file Append output to file
cmd 2>&1 Redirect stderr to stdout
cmd &> file Redirect all output
!! Repeat last command
!$ Last argument of prev cmd
history Show command history

🚀 Best Practices

  • Use man to read the manual
  • Use --help flag for quick help
  • Be careful with rm -rf
  • Use tab completion to save typing
  • Check commands with echo before running
  • Use alias for frequently used commands