Pulsuz çevirici

Linux / Bash Komanda Fırıldaq Vərəqi

Hərtərəfli Linux və Bash əmr fırıldaqçı vərəqi. Nümunələr, təsvirlər və bir klik surəti ilə 80+ əsas əmri axtarın.

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

Bu alət haqqında

Linux bash üçün hərtərəfli sürətli istinad bələdçisi. Ümumi istifadə olunan əmrləri, sintaksisi və kateqoriyalar üzrə təşkil edilmiş nümunələri nəzərdən keçirin. Axtarıla bilən və mobil telefona uyğundur — tez xatırladıcıya ehtiyacınız olduqda ani giriş üçün bu səhifəni işarələyin.

Necə istifadə etməli

  1. Kateqoriyalara ayrılmış istinad bölmələrinə baxın.
  2. Xüsusi əmrləri və ya sintaksisi tapmaq üçün axtarış çubuğundan istifadə edin.
  3. İstifadə nümunələrini və izahatlarını görmək üçün hər hansı bir girişə klikləyin.
  4. Terminalınızda və ya redaktorunuzda istifadə etmək üçün birbaşa əmrləri kopyalayın.

Tez-tez verilən suallar

Bu arayış aktualdır?
İstinad versiyalar arasında sabit olan geniş istifadə olunan əmrləri və sintaksisi əhatə edir. Ən son əlavələr və ya versiyaya xas xüsusiyyətlər üçün rəsmi sənədləri yoxlayın.
Mən bunu oflayn istifadə edə bilərəmmi?
Yükləndikdən sonra səhifə internet bağlantısı olmadan işləyir. Tez daxil olmaq üçün onu əlfəcin edin — bütün məzmun əlavə şəbəkə sorğuları olmadan brauzerdə göstərilir.
Bu hərtərəfli və ya sadəcə əsasdır?
O, gündəlik işlərin 90%-ni idarə edən ən çox istifadə olunan əmrləri və nümunələri əhatə edir. Niş və ya qabaqcıl xüsusiyyətlər üçün rəsmi sənədlərə müraciət edin.
Əlavələr təklif edə bilərəmmi?
Biz mütəmadi olaraq istinadlarımızı yeniləyirik. Əgər çatışmayan əmrləri görsəniz və ya təklifləriniz varsa, əlaqə səhifəmiz vasitəsilə bizə bildirin.