Linux Commands Reference
범주, 예제, 원클릭 복사가 포함된 검색 가능한 Linux CLI 명령 참조입니다.
File & Directory
| 명령어 | 설명 | |
|---|---|---|
| ls | List directory contents | |
| cd | Change directory | |
| pwd | Print working directory | |
| mkdir | Create directory (use -p for nested) | |
| rm | Remove files/directories | |
| cp | Copy files/directories | |
| mv | Move or rename files | |
| find | Find files by name/attribute | |
| ln | Create hard/soft link | |
| chmod | Change file permissions | |
| chown | Change file ownership |
Text Processing
| 명령어 | 설명 | |
|---|---|---|
| cat | Concatenate and print file content | |
| grep | Search for patterns in files | |
| sed | Stream editor — find and replace | |
| awk | Pattern scanning and processing | |
| sort | Sort lines in a file | |
| uniq | Remove duplicate lines | |
| wc | Word, line, and char count | |
| head | Print first N lines | |
| tail | Print last N lines; -f to follow | |
| cut | Extract fields from lines |
Process Management
| 명령어 | 설명 | |
|---|---|---|
| ps | List running processes | |
| top | Interactive process viewer | |
| htop | Enhanced interactive process viewer | |
| kill | Send signal to process (9=force kill) | |
| pkill | Kill processes by name | |
| jobs | List background jobs in current shell | |
| bg | Resume job in background | |
| fg | Bring job to foreground | |
| nohup | Run command immune to hangups | |
| systemctl | Manage systemd services |
Networking
| 명령어 | 설명 | |
|---|---|---|
| ping | Send ICMP echo requests | |
| curl | Transfer data from/to server | |
| wget | Download files from web | |
| ssh | Secure remote shell login | |
| scp | Secure copy over SSH | |
| rsync | Sync files locally or over SSH | |
| netstat | List network connections/ports | |
| ss | Socket statistics (modern netstat) | |
| ip | Manage network interfaces/routes | |
| dig | DNS lookup |
Archiving
| 명령어 | 설명 | |
|---|---|---|
| tar | Create/extract tar archives | |
| zip | Create ZIP archive | |
| unzip | Extract ZIP archive | |
| gzip | Compress file with gzip | |
| gunzip | Decompress gzip file |
Disk & Memory
| 명령어 | 설명 | |
|---|---|---|
| df | Disk space usage of filesystems | |
| du | Disk usage of directory | |
| free | Show free and used memory | |
| lsblk | List block devices | |
| mount | Mount filesystem |
이 도구 소개
Linux 명령어 참고서는 Unix 계열 시스템의 명령줄 도구와 유틸리티에 대한 포괄적인 검색 가능한 데이터베이스입니다. 시스템 관리자, DevOps 엔지니어 또는 터미널을 자주 사용하는 개발자라면 브라우저를 떠나지 않고 명령어 구문, 옵션, 실제 예제에 즉시 접근할 수 있습니다.
명령어 이름으로 검색하거나 파일 관리, 시스템 관리, 네트워킹, 개발 도구 등의 카테고리를 살펴봅니다. 각 항목은 명령어 구문, 일반적인 플래그 및 옵션, 실용적인 사용 예제, 각 매개변수의 설명을 표시합니다. 원클릭 복사 기능을 사용하면 모든 명령어 또는 예제를 즉시 클립보드에 복사하여 터미널에서 직접 사용할 수 있습니다.
자주 묻는 질문
코드 구현
import subprocess
import os
# Run a shell command and capture output
result = subprocess.run(
["ls", "-la", "/home"],
capture_output=True,
text=True
)
print(result.stdout)
# Search for files (equivalent to find)
import pathlib
# Find all .log files modified in last 24h
import time
now = time.time()
for path in pathlib.Path("/var/log").rglob("*.log"):
if now - path.stat().st_mtime < 86400:
print(path)
# Grep equivalent
import re
with open("/etc/hosts") as f:
for line in f:
if re.search(r"127\.\d+\.\d+\.\d+", line):
print(line.strip())
# Process management
import psutil
for proc in psutil.process_iter(['pid', 'name', 'cpu_percent']):
try:
if proc.info['cpu_percent'] > 10:
print(f"PID {proc.info['pid']}: {proc.info['name']}")
except psutil.NoSuchProcess:
passComments & Feedback
Comments are powered by Giscus. Sign in with GitHub to leave a comment.