বিনামূল্যে কনভার্টার

Linux / Bash কমান্ড চিট শিট

Linux ও Bash কমান্ডের ব্যাপক চিট শিট। উদাহরণ, বিবরণ ও এক-ক্লিক কপিসহ ৮০+ প্রয়োজনীয় কমান্ড অনুসন্ধান করুন।

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% পরিচালনা করে। কুলুঙ্গি বা উন্নত বৈশিষ্ট্যের জন্য, অফিসিয়াল ডকুমেন্টেশনের সাথে পরামর্শ করুন।
আমি কি সংযোজনের পরামর্শ দিতে পারি?
আমরা নিয়মিত আমাদের রেফারেন্স আপডেট. আপনি যদি অনুপস্থিত আদেশগুলি লক্ষ্য করেন বা পরামর্শ থাকলে, আমাদের যোগাযোগ পৃষ্ঠার মাধ্যমে আমাদের জানান।