Darmowy konwerter
Linux/Bash Ściągawka poleceń
Kompleksowa ściągawka dotycząca poleceń Linux i Bash. Wyszukaj ponad 80 podstawowych poleceń za pomocą przykładów, opisów i kopii jednym kliknięciem.
ls
List directory contents
Przykład:
ls -la /home/userls -la
List all files including hidden, with details
Przykład:
ls -la ~/Documentscd
Change directory
Przykład:
cd /var/logpwd
Print working directory path
Przykład:
pwdmkdir
Create a new directory
Przykład:
mkdir -p /tmp/mydir/subdirrm
Remove files or directories
Przykład:
rm -rf /tmp/oldfilescp
Copy files or directories
Przykład:
cp -r /src/dir /dst/dirmv
Move or rename files/directories
Przykład:
mv oldname.txt newname.txttouch
Create an empty file or update timestamp
Przykład:
touch newfile.txtfind
Search for files in a directory hierarchy
Przykład:
find /home -name '*.log' -mtime -7locate
Find files by name using a prebuilt database
Przykład:
locate nginx.confln
Create hard or symbolic links
Przykład:
ln -s /path/to/target /path/to/linkdf
Report disk space usage of file systems
Przykład:
df -hdu
Estimate file space usage
Przykład:
du -sh /var/log/*stat
Display file or file system status
Przykład:
stat /etc/passwdfile
Determine file type
Przykład:
file /usr/bin/bashcat
Concatenate and display file contents
Przykład:
cat /etc/hostsless
View file content one screen at a time
Przykład:
less /var/log/syslogmore
View file content page by page
Przykład:
more /etc/passwdhead
Output the first part of a file
Przykład:
head -n 20 /var/log/auth.logtail
Output the last part of a file
Przykład:
tail -f /var/log/sysloggrep
Search text using patterns
Przykład:
grep -rn 'error' /var/log/sed
Stream editor for filtering and transforming text
Przykład:
sed 's/old/new/g' file.txtawk
Pattern scanning and text processing language
Przykład:
awk '{print $1, $3}' access.logsort
Sort lines of text files
Przykład:
sort -k2 -n data.txtuniq
Report or omit repeated lines
Przykład:
sort file.txt | uniq -cwc
Print newline, word, and byte counts
Przykład:
wc -l /etc/passwdcut
Remove sections from each line of files
Przykład:
cut -d: -f1 /etc/passwdtr
Translate or delete characters
Przykład:
echo 'hello' | tr 'a-z' 'A-Z'echo
Display a line of text
Przykład:
echo "Hello, World!"printf
Format and print data
Przykład:
printf "%s\t%d\n" name 42diff
Compare files line by line
Przykład:
diff file1.txt file2.txttee
Read from stdin and write to stdout and files
Przykład:
ls | tee output.txtps
Report a snapshot of current processes
Przykład:
ps aux | grep nginxtop
Display Linux processes in real time
Przykład:
top -u www-datahtop
Interactive process viewer (ncurses-based)
Przykład:
htopkill
Send a signal to a process
Przykład:
kill -9 1234killall
Kill processes by name
Przykład:
killall firefoxbg
Resume a suspended job in the background
Przykład:
bg %1fg
Bring a job to the foreground
Przykład:
fg %1jobs
List active jobs in the current shell
Przykład:
jobs -lnohup
Run a command immune to hangups
Przykład:
nohup ./script.sh &nice
Run a command with modified scheduling priority
Przykład:
nice -n 10 ./heavy_task.shsystemctl
Control the systemd system and service manager
Przykład:
systemctl restart nginxservice
Run a System V init script
Przykład:
service apache2 statusping
Send ICMP ECHO_REQUEST to network hosts
Przykład:
ping -c 4 google.comcurl
Transfer data from or to a server
Przykład:
curl -L -o file.zip https://example.com/file.zipwget
Non-interactive network downloader
Przykład:
wget -q https://example.com/file.tar.gzssh
OpenSSH remote login client
Przykład:
ssh -i ~/.ssh/key.pem user@hostscp
Secure copy files between hosts
Przykład:
scp user@host:/path/file.txt ./local/rsync
Remote file copying tool with delta transfer
Przykład:
rsync -avz /src/ user@host:/dst/netstat
Print network connections and routing tables
Przykład:
netstat -tulpnss
Utility to investigate sockets
Przykład:
ss -tulwnifconfig
Configure a network interface
Przykład:
ifconfig eth0ip
Show and manipulate routing, devices, and tunnels
Przykład:
ip addr shownmap
Network exploration tool and port scanner
Przykład:
nmap -sV 192.168.1.0/24dig
DNS lookup utility
Przykład:
dig +short A google.comnslookup
Query Internet name servers interactively
Przykład:
nslookup example.comchmod
Change file mode bits (permissions)
Przykład:
chmod 755 script.shchown
Change file owner and group
Przykład:
chown -R www-data:www-data /var/wwwchgrp
Change group ownership
Przykład:
chgrp developers project/sudo
Execute a command as another user (superuser)
Przykład:
sudo systemctl restart nginxsu
Change user ID or become superuser
Przykład:
su - postgrespasswd
Change user password
Przykład:
passwd usernameumask
Set or display the file mode creation mask
Przykład:
umask 022id
Print user and group information
Przykład:
id usernamewhoami
Print the current effective user name
Przykład:
whoamigroups
Print the groups a user is in
Przykład:
groups usernametar
Archive files using tape archive format
Przykład:
tar -czvf archive.tar.gz /path/to/dirtar -x
Extract files from a tar archive
Przykład:
tar -xzvf archive.tar.gz -C /target/gzip
Compress files using GNU zip
Przykład:
gzip -9 large_file.loggunzip
Decompress gzip compressed files
Przykład:
gunzip archive.tar.gzzip
Package and compress files into a ZIP archive
Przykład:
zip -r output.zip /path/to/dirunzip
Extract files from a ZIP archive
Przykład:
unzip archive.zip -d /target/bzip2
Compress files using bzip2 algorithm
Przykład:
bzip2 -z large_file.txtxz
Compress files using the XZ algorithm
Przykład:
xz -z -9 file.txtuname
Print system information
Przykład:
uname -auptime
Tell how long the system has been running
Przykład:
uptimefree
Display amount of free and used memory
Przykład:
free -hlscpu
Display information about the CPU architecture
Przykład:
lscpulsblk
List information about block devices
Przykład:
lsblk -o NAME,SIZE,TYPE,MOUNTPOINTlspci
List all PCI devices
Przykład:
lspci -v | grep VGAdmesg
Print or control the kernel ring buffer
Przykład:
dmesg | tail -50journalctl
Query and display messages from the journal
Przykład:
journalctl -u nginx --since '1 hour ago'history
Display the command history list
Przykład:
history | grep dockerenv
Print environment variables
Przykład:
env | grep PATHif / then / fi
Conditional execution in shell scripts
Przykład:
if [ -f file.txt ]; then echo exists; fifor
Loop over a list of items
Przykład:
for i in 1 2 3; do echo $i; donewhile
Execute commands while a condition is true
Przykład:
while read line; do echo $line; done < filecase
Multi-branch conditional matching pattern
Przykład:
case "$var" in a) echo A;; b) echo B;; esacfunction
Define a shell function
Przykład:
greet() { echo "Hello, $1!"; }; greet Worldexport
Set environment variables for child processes
Przykład:
export MY_VAR=valuesource
Execute commands from a file in current shell
Przykład:
source ~/.bashrcalias
Create an alias for a command
Przykład:
alias ll='ls -la'cron / crontab
Schedule commands to run periodically
Przykład:
crontab -e # 0 * * * * /path/to/script.shat
Execute commands at a specified time
Przykład:
echo 'ls /tmp' | at 14:30Powiązane narzędzia
Zobacz wszystkie narzędziaPolecenia Gita Ściągawka
Kompleksowy ściągawka do poleceń Git. Przeszukuj ponad 80 podstawowych poleceń Git, korzystając z przykładów, opisów i kopii dostępnych jednym kliknięciem.
Polecenia Dockera Ściągawka
Kompleksowy ściągawka do poleceń Dockera. Przeszukuj ponad 70 podstawowych poleceń Dockera, korzystając z przykładów, opisów i kopii dostępnych jednym kliknięciem.
Polecenia Vima Ściągawka
Kompleksowy ściągawka do poleceń Vima. Wyszukaj ponad 80 podstawowych poleceń Vima z przykładami, opisami i kopią jednym kliknięciem.
Formater SQL & Upiększacz
Natychmiast formatuj, upiększaj i czyść zapytania SQL w przeglądarce. Nie jest wymagane przesyłanie — całkowicie prywatne i bezpłatne.