무료 변환기
리눅스 / 배쉬 명령 치트 시트
포괄적인 Linux 및 Bash 명령 치트 시트. 예제, 설명, 원클릭 복사를 통해 80개 이상의 필수 명령을 검색하세요.
ls
List directory contents
예:
ls -la /home/userls -la
List all files including hidden, with details
예:
ls -la ~/Documentscd
Change directory
예:
cd /var/logpwd
Print working directory path
예:
pwdmkdir
Create a new directory
예:
mkdir -p /tmp/mydir/subdirrm
Remove files or directories
예:
rm -rf /tmp/oldfilescp
Copy files or directories
예:
cp -r /src/dir /dst/dirmv
Move or rename files/directories
예:
mv oldname.txt newname.txttouch
Create an empty file or update timestamp
예:
touch newfile.txtfind
Search for files in a directory hierarchy
예:
find /home -name '*.log' -mtime -7locate
Find files by name using a prebuilt database
예:
locate nginx.confln
Create hard or symbolic links
예:
ln -s /path/to/target /path/to/linkdf
Report disk space usage of file systems
예:
df -hdu
Estimate file space usage
예:
du -sh /var/log/*stat
Display file or file system status
예:
stat /etc/passwdfile
Determine file type
예:
file /usr/bin/bashcat
Concatenate and display file contents
예:
cat /etc/hostsless
View file content one screen at a time
예:
less /var/log/syslogmore
View file content page by page
예:
more /etc/passwdhead
Output the first part of a file
예:
head -n 20 /var/log/auth.logtail
Output the last part of a file
예:
tail -f /var/log/sysloggrep
Search text using patterns
예:
grep -rn 'error' /var/log/sed
Stream editor for filtering and transforming text
예:
sed 's/old/new/g' file.txtawk
Pattern scanning and text processing language
예:
awk '{print $1, $3}' access.logsort
Sort lines of text files
예:
sort -k2 -n data.txtuniq
Report or omit repeated lines
예:
sort file.txt | uniq -cwc
Print newline, word, and byte counts
예:
wc -l /etc/passwdcut
Remove sections from each line of files
예:
cut -d: -f1 /etc/passwdtr
Translate or delete characters
예:
echo 'hello' | tr 'a-z' 'A-Z'echo
Display a line of text
예:
echo "Hello, World!"printf
Format and print data
예:
printf "%s\t%d\n" name 42diff
Compare files line by line
예:
diff file1.txt file2.txttee
Read from stdin and write to stdout and files
예:
ls | tee output.txtps
Report a snapshot of current processes
예:
ps aux | grep nginxtop
Display Linux processes in real time
예:
top -u www-datahtop
Interactive process viewer (ncurses-based)
예:
htopkill
Send a signal to a process
예:
kill -9 1234killall
Kill processes by name
예:
killall firefoxbg
Resume a suspended job in the background
예:
bg %1fg
Bring a job to the foreground
예:
fg %1jobs
List active jobs in the current shell
예:
jobs -lnohup
Run a command immune to hangups
예:
nohup ./script.sh &nice
Run a command with modified scheduling priority
예:
nice -n 10 ./heavy_task.shsystemctl
Control the systemd system and service manager
예:
systemctl restart nginxservice
Run a System V init script
예:
service apache2 statusping
Send ICMP ECHO_REQUEST to network hosts
예:
ping -c 4 google.comcurl
Transfer data from or to a server
예:
curl -L -o file.zip https://example.com/file.zipwget
Non-interactive network downloader
예:
wget -q https://example.com/file.tar.gzssh
OpenSSH remote login client
예:
ssh -i ~/.ssh/key.pem user@hostscp
Secure copy files between hosts
예:
scp user@host:/path/file.txt ./local/rsync
Remote file copying tool with delta transfer
예:
rsync -avz /src/ user@host:/dst/netstat
Print network connections and routing tables
예:
netstat -tulpnss
Utility to investigate sockets
예:
ss -tulwnifconfig
Configure a network interface
예:
ifconfig eth0ip
Show and manipulate routing, devices, and tunnels
예:
ip addr shownmap
Network exploration tool and port scanner
예:
nmap -sV 192.168.1.0/24dig
DNS lookup utility
예:
dig +short A google.comnslookup
Query Internet name servers interactively
예:
nslookup example.comchmod
Change file mode bits (permissions)
예:
chmod 755 script.shchown
Change file owner and group
예:
chown -R www-data:www-data /var/wwwchgrp
Change group ownership
예:
chgrp developers project/sudo
Execute a command as another user (superuser)
예:
sudo systemctl restart nginxsu
Change user ID or become superuser
예:
su - postgrespasswd
Change user password
예:
passwd usernameumask
Set or display the file mode creation mask
예:
umask 022id
Print user and group information
예:
id usernamewhoami
Print the current effective user name
예:
whoamigroups
Print the groups a user is in
예:
groups usernametar
Archive files using tape archive format
예:
tar -czvf archive.tar.gz /path/to/dirtar -x
Extract files from a tar archive
예:
tar -xzvf archive.tar.gz -C /target/gzip
Compress files using GNU zip
예:
gzip -9 large_file.loggunzip
Decompress gzip compressed files
예:
gunzip archive.tar.gzzip
Package and compress files into a ZIP archive
예:
zip -r output.zip /path/to/dirunzip
Extract files from a ZIP archive
예:
unzip archive.zip -d /target/bzip2
Compress files using bzip2 algorithm
예:
bzip2 -z large_file.txtxz
Compress files using the XZ algorithm
예:
xz -z -9 file.txtuname
Print system information
예:
uname -auptime
Tell how long the system has been running
예:
uptimefree
Display amount of free and used memory
예:
free -hlscpu
Display information about the CPU architecture
예:
lscpulsblk
List information about block devices
예:
lsblk -o NAME,SIZE,TYPE,MOUNTPOINTlspci
List all PCI devices
예:
lspci -v | grep VGAdmesg
Print or control the kernel ring buffer
예:
dmesg | tail -50journalctl
Query and display messages from the journal
예:
journalctl -u nginx --since '1 hour ago'history
Display the command history list
예:
history | grep dockerenv
Print environment variables
예:
env | grep PATHif / then / fi
Conditional execution in shell scripts
예:
if [ -f file.txt ]; then echo exists; fifor
Loop over a list of items
예:
for i in 1 2 3; do echo $i; donewhile
Execute commands while a condition is true
예:
while read line; do echo $line; done < filecase
Multi-branch conditional matching pattern
예:
case "$var" in a) echo A;; b) echo B;; esacfunction
Define a shell function
예:
greet() { echo "Hello, $1!"; }; greet Worldexport
Set environment variables for child processes
예:
export MY_VAR=valuesource
Execute commands from a file in current shell
예:
source ~/.bashrcalias
Create an alias for a command
예:
alias ll='ls -la'cron / crontab
Schedule commands to run periodically
예:
crontab -e # 0 * * * * /path/to/script.shat
Execute commands at a specified time
예:
echo 'ls /tmp' | at 14:30관련 도구
모든 도구 보기힘내 명령 치트 시트
포괄적인 Git 명령 치트 시트. 예제, 설명, 원클릭 복사가 포함된 80개 이상의 필수 Git 명령을 검색하세요.
도커 명령 치트 시트
포괄적인 Docker 명령 치트 시트. 예제, 설명 및 원클릭 복사를 통해 70개 이상의 필수 Docker 명령을 검색하세요.
Vim 명령 치트 시트
포괄적인 Vim 명령 치트 시트. 예제, 설명 및 원클릭 복사를 통해 80개 이상의 필수 Vim 명령을 검색하세요.
SQL 포매터 & 정리 도구
브라우저에서 SQL 쿼리를 즉시 포맷하고 정리합니다. 업로드 불필요 — 완전히 비공개이며 무료입니다.