Ücretsiz Dönüştürücü

Linux / Bash Komut Hile Sayfası

Kapsamlı Linux ve Bash komut hileleri sayfası. Örnekler, açıklamalar ve tek tıklamayla kopyayla 80'den fazla temel komutu arayın.

ls
List directory contents
Örnek:ls -la /home/user
ls -la
List all files including hidden, with details
Örnek:ls -la ~/Documents
cd
Change directory
Örnek:cd /var/log
pwd
Print working directory path
Örnek:pwd
mkdir
Create a new directory
Örnek:mkdir -p /tmp/mydir/subdir
rm
Remove files or directories
Örnek:rm -rf /tmp/oldfiles
cp
Copy files or directories
Örnek:cp -r /src/dir /dst/dir
mv
Move or rename files/directories
Örnek:mv oldname.txt newname.txt
touch
Create an empty file or update timestamp
Örnek:touch newfile.txt
find
Search for files in a directory hierarchy
Örnek:find /home -name '*.log' -mtime -7
locate
Find files by name using a prebuilt database
Örnek:locate nginx.conf
ln
Create hard or symbolic links
Örnek:ln -s /path/to/target /path/to/link
df
Report disk space usage of file systems
Örnek:df -h
du
Estimate file space usage
Örnek:du -sh /var/log/*
stat
Display file or file system status
Örnek:stat /etc/passwd
file
Determine file type
Örnek:file /usr/bin/bash
cat
Concatenate and display file contents
Örnek:cat /etc/hosts
less
View file content one screen at a time
Örnek:less /var/log/syslog
more
View file content page by page
Örnek:more /etc/passwd
head
Output the first part of a file
Örnek:head -n 20 /var/log/auth.log
tail
Output the last part of a file
Örnek:tail -f /var/log/syslog
grep
Search text using patterns
Örnek:grep -rn 'error' /var/log/
sed
Stream editor for filtering and transforming text
Örnek:sed 's/old/new/g' file.txt
awk
Pattern scanning and text processing language
Örnek:awk '{print $1, $3}' access.log
sort
Sort lines of text files
Örnek:sort -k2 -n data.txt
uniq
Report or omit repeated lines
Örnek:sort file.txt | uniq -c
wc
Print newline, word, and byte counts
Örnek:wc -l /etc/passwd
cut
Remove sections from each line of files
Örnek:cut -d: -f1 /etc/passwd
tr
Translate or delete characters
Örnek:echo 'hello' | tr 'a-z' 'A-Z'
echo
Display a line of text
Örnek:echo "Hello, World!"
printf
Format and print data
Örnek:printf "%s\t%d\n" name 42
diff
Compare files line by line
Örnek:diff file1.txt file2.txt
tee
Read from stdin and write to stdout and files
Örnek:ls | tee output.txt
ps
Report a snapshot of current processes
Örnek:ps aux | grep nginx
top
Display Linux processes in real time
Örnek:top -u www-data
htop
Interactive process viewer (ncurses-based)
Örnek:htop
kill
Send a signal to a process
Örnek:kill -9 1234
killall
Kill processes by name
Örnek:killall firefox
bg
Resume a suspended job in the background
Örnek:bg %1
fg
Bring a job to the foreground
Örnek:fg %1
jobs
List active jobs in the current shell
Örnek:jobs -l
nohup
Run a command immune to hangups
Örnek:nohup ./script.sh &
nice
Run a command with modified scheduling priority
Örnek:nice -n 10 ./heavy_task.sh
systemctl
Control the systemd system and service manager
Örnek:systemctl restart nginx
service
Run a System V init script
Örnek:service apache2 status
ping
Send ICMP ECHO_REQUEST to network hosts
Örnek:ping -c 4 google.com
curl
Transfer data from or to a server
Örnek:curl -L -o file.zip https://example.com/file.zip
wget
Non-interactive network downloader
Örnek:wget -q https://example.com/file.tar.gz
ssh
OpenSSH remote login client
Örnek:ssh -i ~/.ssh/key.pem user@host
scp
Secure copy files between hosts
Örnek:scp user@host:/path/file.txt ./local/
rsync
Remote file copying tool with delta transfer
Örnek:rsync -avz /src/ user@host:/dst/
netstat
Print network connections and routing tables
Örnek:netstat -tulpn
ss
Utility to investigate sockets
Örnek:ss -tulwn
ifconfig
Configure a network interface
Örnek:ifconfig eth0
ip
Show and manipulate routing, devices, and tunnels
Örnek:ip addr show
nmap
Network exploration tool and port scanner
Örnek:nmap -sV 192.168.1.0/24
dig
DNS lookup utility
Örnek:dig +short A google.com
nslookup
Query Internet name servers interactively
Örnek:nslookup example.com
chmod
Change file mode bits (permissions)
Örnek:chmod 755 script.sh
chown
Change file owner and group
Örnek:chown -R www-data:www-data /var/www
chgrp
Change group ownership
Örnek:chgrp developers project/
sudo
Execute a command as another user (superuser)
Örnek:sudo systemctl restart nginx
su
Change user ID or become superuser
Örnek:su - postgres
passwd
Change user password
Örnek:passwd username
umask
Set or display the file mode creation mask
Örnek:umask 022
id
Print user and group information
Örnek:id username
whoami
Print the current effective user name
Örnek:whoami
groups
Print the groups a user is in
Örnek:groups username
tar
Archive files using tape archive format
Örnek:tar -czvf archive.tar.gz /path/to/dir
tar -x
Extract files from a tar archive
Örnek:tar -xzvf archive.tar.gz -C /target/
gzip
Compress files using GNU zip
Örnek:gzip -9 large_file.log
gunzip
Decompress gzip compressed files
Örnek:gunzip archive.tar.gz
zip
Package and compress files into a ZIP archive
Örnek:zip -r output.zip /path/to/dir
unzip
Extract files from a ZIP archive
Örnek:unzip archive.zip -d /target/
bzip2
Compress files using bzip2 algorithm
Örnek:bzip2 -z large_file.txt
xz
Compress files using the XZ algorithm
Örnek:xz -z -9 file.txt
uname
Print system information
Örnek:uname -a
uptime
Tell how long the system has been running
Örnek:uptime
free
Display amount of free and used memory
Örnek:free -h
lscpu
Display information about the CPU architecture
Örnek:lscpu
lsblk
List information about block devices
Örnek:lsblk -o NAME,SIZE,TYPE,MOUNTPOINT
lspci
List all PCI devices
Örnek:lspci -v | grep VGA
dmesg
Print or control the kernel ring buffer
Örnek:dmesg | tail -50
journalctl
Query and display messages from the journal
Örnek:journalctl -u nginx --since '1 hour ago'
history
Display the command history list
Örnek:history | grep docker
env
Print environment variables
Örnek:env | grep PATH
if / then / fi
Conditional execution in shell scripts
Örnek:if [ -f file.txt ]; then echo exists; fi
for
Loop over a list of items
Örnek:for i in 1 2 3; do echo $i; done
while
Execute commands while a condition is true
Örnek:while read line; do echo $line; done < file
case
Multi-branch conditional matching pattern
Örnek:case "$var" in a) echo A;; b) echo B;; esac
function
Define a shell function
Örnek:greet() { echo "Hello, $1!"; }; greet World
export
Set environment variables for child processes
Örnek:export MY_VAR=value
source
Execute commands from a file in current shell
Örnek:source ~/.bashrc
alias
Create an alias for a command
Örnek:alias ll='ls -la'
cron / crontab
Schedule commands to run periodically
Örnek:crontab -e # 0 * * * * /path/to/script.sh
at
Execute commands at a specified time
Örnek:echo 'ls /tmp' | at 14:30

Bu araç hakkında

Linux bash için kapsamlı bir hızlı başvuru kılavuzu. Yaygın olarak kullanılan komutlara, sözdizimine ve kategoriye göre düzenlenmiş örneklere göz atın. Aranabilir ve mobil uyumlu — hızlı bir hatırlatmaya ihtiyaç duyduğunuzda anında erişim için bu sayfayı favorilerinize ekleyin.

Nasıl kullanılır

  1. Kategorize edilmiş referans bölümlerine göz atın.
  2. Belirli komutları veya söz dizimini bulmak için arama çubuğunu kullanın.
  3. Kullanım örneklerini ve açıklamalarını görmek için herhangi bir girişe tıklayın.
  4. Terminalinizde veya düzenleyicinizde kullanmak için komutları doğrudan kopyalayın.

Sık sorulan sorular

Bu referans güncel mi?
Referans, yaygın olarak kullanılan komutları ve sürümler arasında kararlı olan sözdizimini kapsar. En son eklemeler veya sürüme özgü özellikler için resmi belgelere bakın.
Bunu çevrimdışı kullanabilir miyim?
Sayfa yüklendikten sonra internet bağlantısı olmadan çalışır. Hızlı erişim için yer imlerine ekleyin; tüm içerik, başka ağ istekleri olmadan tarayıcıda oluşturulur.
Bu kapsamlı mı yoksa sadece temel bilgiler mi?
Günlük görevlerin %90'ını gerçekleştiren en sık kullanılan komutları ve kalıpları kapsar. Niş veya gelişmiş özellikler için resmi belgelere bakın.
İlaveler önerebilir miyim?
Referanslarımızı düzenli olarak güncelliyoruz. Eksik komutları fark ederseniz veya önerileriniz varsa iletişim sayfamızdan bize bildirin.