मोफत कनवर्टर

लिनक्स / बॅश कमांड चीट शीट

व्यापक लिनक्स आणि बॅश कमांड चीट शीट. उदाहरणे, वर्णन आणि एक-क्लिक कॉपीसह 80+ आवश्यक आदेश शोधा.

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

या साधनाबद्दल

लिनक्स बॅशसाठी सर्वसमावेशक द्रुत-संदर्भ मार्गदर्शक. सामान्यतः वापरल्या जाणाऱ्या आदेश, वाक्यरचना आणि वर्गवारीनुसार आयोजित केलेली उदाहरणे ब्राउझ करा. शोधण्यायोग्य आणि मोबाइल-अनुकूल — जेव्हा आपल्याला द्रुत स्मरणपत्राची आवश्यकता असेल तेव्हा त्वरित प्रवेशासाठी हे पृष्ठ बुकमार्क करा.

कसे वापरावे

  1. वर्गीकृत संदर्भ विभाग ब्राउझ करा.
  2. विशिष्ट आदेश किंवा वाक्यरचना शोधण्यासाठी शोध बार वापरा.
  3. वापर उदाहरणे आणि स्पष्टीकरणे पाहण्यासाठी कोणत्याही एंट्रीवर क्लिक करा.
  4. तुमच्या टर्मिनल किंवा एडिटरमध्ये वापरण्यासाठी थेट कमांड कॉपी करा.

वारंवार विचारले जाणारे प्रश्न

हा संदर्भ अद्ययावत आहे का?
संदर्भामध्ये मोठ्या प्रमाणात वापरल्या जाणाऱ्या कमांड्स आणि सिंटॅक्स समाविष्ट आहेत जे आवृत्त्यांमध्ये स्थिर आहेत. नवीनतम जोडण्या किंवा आवृत्ती-विशिष्ट वैशिष्ट्यांसाठी, अधिकृत दस्तऐवजीकरण तपासा.
मी हे ऑफलाइन वापरू शकतो का?
एकदा लोड झाल्यानंतर, पृष्ठ इंटरनेट कनेक्शनशिवाय कार्य करते. द्रुत प्रवेशासाठी ते बुकमार्क करा — पुढील नेटवर्क विनंत्यांशिवाय सर्व सामग्री ब्राउझरमध्ये प्रस्तुत केली जाते.
हे सर्वसमावेशक आहे की फक्त मूलभूत आहे?
हे सर्वात सामान्यपणे वापरल्या जाणाऱ्या आज्ञा आणि नमुने समाविष्ट करते जे दररोजच्या 90% कार्ये हाताळतात. विशिष्ट किंवा प्रगत वैशिष्ट्यांसाठी, अधिकृत दस्तऐवजीकरण पहा.
मी जोड सुचवू शकतो का?
आम्ही नियमितपणे आमचे संदर्भ अद्यतनित करतो. तुम्हाला गहाळ कमांड दिसल्यास किंवा सूचना असल्यास, आमच्या संपर्क पृष्ठाद्वारे आम्हाला कळवा.