Linux အသုံးချခြင်းအကြောင်းကြား: Ctrl + F လိုက်လျောမှု မြင်ကား လိုက်လျောမှု (ခေါင်းစဉ် ကို သွင်းသွင်း သို့မဟုတ် ဖြိုဖြိုး လုပ်ကြုံ)
အမည် ပုံစံ ကြောင်း | အစိတ်အပိုင်းခွဲ ဖော်ပြ |
---|---|
Arch | ပြပေးသည့် ပုံစံ အသုံးချခြင်း1) |
Uname -m | ပြပေးသည့် ပုံစံ အသုံးချခြင်း2) |
Uname -r | ပြပေးသည့် အသုံးချခြင်း |
Dmidecode -q | ပြပေးသည့် ပုံစံ အသုံးချခြင်း - (SMBIOS/DMI) |
HDPARM -i /dev/hda | လုပ်ပေးသည့် ပုံစံ အချက်အလက် စာရင်း |
HDPARM -tT /dev/sda | လုပ်ပေးသည့် စမ်းသပ် စက်တင် လုပ်ကြုံ |
Cat /proc/cpuinfo | မြင်ကား ပုံစံ အသုံးချခြင်း |
Cat /proc/interrupts | ပြပေးသည့် အပူပိုင်း |
Cat /proc/meminfo | မြင်ကား ပုံစံ အသုံးချခြင်း |
Cat /proc/swaps | သုံးစွဲသူ အသုံးပြုခြင်း ကို ပြသခြင် |
Cat /proc/version | Show the version of the kernel |
Cat /proc/net/dev | Display network adapters and statistics |
Cat /proc/mounts | Show the loaded file system |
LSPCI -TV | List PCI devices |
LSUSB -TV | Display USB devices |
Date | Display system date |
Cal 2007 | Show the calendar for 2007 |
Date 04121700 2007.00 | Set date and time - month, day, hour, year. seconds |
Clock -w | Save time changes to BIOS |
အမည် ပုံစံ ကြောင်း | အစိတ်အပိုင်းခွဲ ဖော်ပြ |
---|---|
Shutdown -h now | Shut down the system |
Init 0 | Shut down the system |
Telinit 0 | Shut down the system |
Shutdown -h hours: minutes & | Shut down the system at the scheduled time |
Shutdown -c | Cancel to shut down the system at the scheduled time |
Shutdown -r now | restart |
Reboot | restart |
Logout | cancellation |
အမည် ပုံစံ ကြောင်း | အစိတ်အပိုင်းခွဲ ဖော်ပြ |
---|---|
CD /home | Go to the '/home' directory. |
CD.. | Return to the previous level of directory |
CD../.. | Return to the previous two levels of directory |
CD | Enter the personal home directory |
Cd~ user1 | Enter the personal home directory |
CD - | Return to the directory where you were last time |
PWD | Show work path |
ls | View files in the directory |
LS -F | View files in the directory |
LS -l | Display file and directory details |
Ls -a | Show hidden files |
Ls * [0-9] * | Display file and directory names containing numbers |
Tree | Displays the tree structure of files and directories starting from the root directory |
LSTREE | Displays the tree structure of files and directories starting from the root directory |
Mkdir dir1 | Create a directory called 'dir'1 '. |
Mkdir dir1 dir2 | Create two directories simultaneously |
Mkdir -p /tmp/dir1/dir2 | Create a directory tree |
Rm -f file1 | Delete a file called 'file'1 '. |
Rmdir dir1 | Delete a directory called 'dir'1 '. |
Rm -rf dir1 | Delete a directory called 'dir'1 နှင့် အကြွေးကြွေး သို့မဟုတ် အကြွေးကြွေး ကို တစ်ခါတည်း ဖျက်သိမ်းခြင် |
Rm -rf dir1 dir2 | Delete both directories and their contents simultaneously |
MV dir1 new_dir | Rename/move a directory |
CP file1 file2 | Copy a file |
CP dir/*. | Copy all files in a directory to the current working directory |
CP -A /tmp/dir1. | Copy a directory to the current working directory |
CP -a dir1 dir2 | Copy a directory |
-S file1 lnk1 | ဖိုင် သို့မဟုတ် ဖွဲ့စည်းပုံ သို့ လုပ်သင်္ဂြိုလ်ခြင် |
Ln file1 lnk1 | ဖိုင် သို့မဟုတ် ဖွဲ့စည်းပုံ သို့ ပိုင်းလုပ်ခြင် |
Touch -t 0712250000 file1 | ဖိုင် သို့မဟုတ် ဖွဲ့စည်းပုံ စွဲရသော စံတော်ချိန် ပြင်ဆင်ခြင် - (YYMMDDhhmm) |
IconV -l | လောက်ကြောင်း အက္ခရာ သတင်း |
iconv -f fromEncoding -t toEncoding inputFile > outputFile | သုံးစွဲသူ ကို အကျယ်အဝန် ပြင်ဆင်ခြင် |
Find. -maxdepth 1 -name * .jpg -print -exec convert | Batch resizing files in the current directory and send them to the thumbnail directory (requires conversion from ImageMagick) |
အမည် ပုံစံ ကြောင်း | အစိတ်အပိုင်းခွဲ ဖော်ပြ |
---|---|
Find/-name file1 | Start with '/' to enter the root file system to search for files and directories |
Find/-user user1 | Search for files and directories belonging to user'user'1 ' |
Find /home/user1 -name * .bin | Search the directory '/home/user1' for files ending in '.bin' |
Find /usr/bin -type f -atime + 100 | Search for executable files that have not been used in the past 100 days |
Find /usr/bin -type f -mtime -10 | Search for files that have been created or modified within 10 days |
Find/-name * .rpm -exec chmod 755 '{}' ; | Search for files ending in '.rpm' and define their permissions |
Find/-xdev -name * .rpm | Search for files ending in '.rpm', ignoring removable devices such as optical drives and flash drives |
Locate * .ps | Find files ending in '.ps' - run the'updatedb 'command first |
Whereis halt | Display the location of a binary, source, or man |
Which halts | Displays the full path to a binary or executable file |
အမည် ပုံစံ ကြောင်း | အစိတ်အပိုင်းခွဲ ဖော်ပြ |
---|---|
Mount /dev/hda2 /mnt/hda2 | Mount a disk called hda2 - make sure the directory '/mnt/hda2' already exists |
Umount /dev/hda2 | Unmount a disk called hda2 - exit from the mount point '/mnt/hda2' first |
Fuser -km /mnt/hda2 | ပလပ်စ် အရ အချက်အလက် အသုံးခံခြင်း အချက်အလက် အစားထိုး |
Umount -n /mnt/hda2 | မဲ့ တိုက်ထုတ်ခြင်း အစားထိုး /etc/mtab အချက်အလက် အသုံးချခြင်း အချက်အလက် အစားထိုး-သာမျှသို့မဟုတ် ပလပ်စ် အရ အပြည့်အပြင် အချက်အလက် အစားထိုး |
Mount /dev/fd0 /mnt/floppy | ဖဲ့ဖဲ့စင် အချက်အလက် အစားထိုး |
Mount /dev/cdrom /mnt/cdrom | cdrom သို့မဟုတ် dvdrom အချက်အလက် အစားထိုး |
Mount /dev/hdc /mnt/cdrecorder | cdrw သို့မဟုတ် dvdrom အချက်အလက် အစားထိုး |
Mount /dev/hdb /mnt/cdrecorder | cdrw သို့မဟုတ် dvdrom အချက်အလက် အစားထိုး |
Mount -o loop file.iso /mnt/cdrom | အချက်အလက် သို့မဟုတ် ISO ပုံစံ အချက်အလက် အစားထိုး |
Mount -t vfat /dev/hda5 /mnt/hda5 | Windows FAT အချက်အလက် အစားထိုး32 file system |
Mount /dev/sda1 /mnt/usbdisk | USB ပလပ်စ် သို့မဟုတ် ဖဲ့ဖဲ့စင် အချက်အလက် အစားထိုး |
Mount -t smbfs -o username = user, password = pass//WinClient/share /mnt/share | Mount a windows network share |
အမည် ပုံစံ ကြောင်း | အစိတ်အပိုင်းခွဲ ဖော်ပြ |
---|---|
DF -h | ဖွင့်ထားသော ပလပ်စ် အချက်အလက် အစားထိုး |
LS -lSr | more | အချက်အလက် နှင့် ဖွင့်ထားသော အချက်အလက် အရ အစားထိုး |
Du -sh dir1 | ဖွင့်ထားသော 'dir' အချက်အလက် အသုံးချခြင်း ကို နှုတ်ခန့်တွက်1' |
Du -sk * | အစားထိုး -rn | အချက်အလက် နှင့် ဖွင့်ထားသော အချက်အလက် အရ အစားထိုး |
Rpm -q -a --qf '% 10 {အရွယ်အစား} t% {အမည်} n' | အစားထိုး -k1,1n | တင်ဆက်ထားသော rpm ပလပ်စ် ပုံစံအရ အရွယ်အစား အထိုးတူထားသည် (fedora, redhat အမျိုးအစား ပရိုဂရမ်မြောက် စနစ်) |
Dpkg-ခွဲခြားမှာ -W -f = '${Installed-Size; 10} t ${Package} n' | sort -k1,1n | Displays the space used by installed deb packages based on size (ubuntu, debian class system) |
အမည် ပုံစံ ကြောင်း | အစိတ်အပိုင်းခွဲ ဖော်ပြ |
---|---|
GroupAdd group_name | Create a new user group |
Groupdel group_name | Delete a user group |
Groupmod -n new_group_name old_group_name | Rename a user group |
Useradd -c "Name Surname" -g admin -d /home/user1 -s /bin/bash user1 | Create a user that belongs to the "admin" user group |
UserAdd user1 | Create a new user |
Userdel -r user1 | Delete a user ('-r' excludes home directory) |
Usermod -c "User FTP" -g system -d /ftp/user1 -s /bin/nologin user1 | Modify user properties |
Passwd | Change password |
Passwd user1 | Modify a user's password (only allows root execution) |
Chage -E 2020-12-31 user1 | Set the expiration date for user passwords |
PWCK | Check for file format and syntax fixes for '/etc/passwd' and the existence of users |
GRPCK | Check for file format and syntax fixes for '/etc/passwd' and existing groups |
Newgrp group_name | Log in to a new group to change the default group for newly created files |
အမည် ပုံစံ ကြောင်း | အစိတ်အပိုင်းခွဲ ဖော်ပြ |
---|---|
LS -lh | display permission |
LS /tmp | pr -T5 -W $COLUMNS | Divide the end point into 5 columns to display |
Chmod ugo + rwx directory1 | Set permissions for the owner (u), group (g), and others (o) of the directory to read (r), write (w), and execute (x) |
Chmod go-rwx directory1 | Delete group (g) and others (o) read and write execution permissions to directories |
Chown user1 file1 | ဖွဲ့စည်းသင့်လျော်စေရန် ဖွဲ့စည်းသင့်လျော်စေရန် |
Chown -R user1 directory1 | ဖွဲ့စည်းသင့်လျော်စေရန် ဖွဲ့စည်းသင့်လျော်စေရန် ဖွဲ့စည်းသင့်လျော်စေရန် |
CHGRP group1 file1 | ဖွဲ့စည်းသင့်လျော်စေရန် ဖွဲ့စည်းသင့်လျော်စေရန် |
Chown user1: group1 file1 | ဖွဲ့စည်းသင့်လျော်စေရန် ဖွဲ့စည်းသင့်လျော်စေရန် |
Find/-perm -u + s | ဖွဲ့စည်းသင့်လျော်စေရန် ဖွဲ့စည်းသင့်လျော်စေရန် ဖွဲ့စည်းသင့်လျော်စေရန် |
Chmod u + s /bin/file1 | ဖွဲ့စည်းသင့်လျော်စေရန် SUID ဘက်တုံးခွဲကို ဖွဲ့စည်းသင့်လျော်စေရန် - ဖွဲ့စည်းသင့်လျော်စေရန် ဖွဲ့စည်းသင့်လျော်စေရန် ဖွဲ့စည်းသင့်လျော်စေရန် |
CHMOD U-S /bin/file1 | ဖွဲ့စည်းသင့်လျော်စေရန် SUID ဘက်တုံးခွဲကို ဖွဲ့စည်းသင့်လျော်စေရန် |
Chmod g + s /home/public | ဖွဲ့စည်းသင့်လျော်စေရန် SGID ဘက်တုံးခွဲကို ဖွဲ့စည်းသင့်လျော်စေရန် - SUID နှင့် ညီမျှသား သော်လည်း ဖွဲ့စည်းသင့်လျော်စေရန် ဖွဲ့စည်းသင့်လျော်စေရန် |
CHMOD G-S /home/public | ဖွဲ့စည်းသင့်လျော်စေရန် SGID ဘက်တုံးခွဲကို ဖိုင်စံချိန်းသတ်မှတ်ပါ |
Chmod o + t /home/public | ဖွဲ့စည်းပုံသင့်လျော်စေရန် STIKY ဘက်တုံးခွဲကို သတ်မှတ်ပါ - only allows the legal owner to delete the file |
CHMOD O-T /home/public | Disable the STIKY bit of a directory |
အမည် ပုံစံ ကြောင်း | အစိတ်အပိုင်းခွဲ ဖော်ပြ |
---|---|
Chattr + a file1 | Only read and write files in append mode are allowed |
Chattr + c file1 | Allows this file to be automatically compressed/decompressed by the kernel |
Chattr + d file1 | The dump program will ignore this file when backing up the file system |
Chattr + i file1 | Set to immutable files that cannot be deleted, modified, renamed, or linked |
Chattr + s file1 | ဖိုင် ကို လုံခြုံစိတ်ခြုံစွာ ဖယ်ရှားပေးသည် |
Chattr + S file1 | အစီအစဉ် က ဖိုင် ကို ရေးထိုးပေးခြင်း ပြုလုပ်ပြီးနောက် စနစ် က ပြန်လည် ဖြင့် ကျွမ်းကျွမ်း အကြီးအကျယ် ရှိ သည် |
Chattr + u file1 | ဖိုင် ကို ဖယ်ရှားပြီးနောက် စနစ် က ဖယ်ရှားခဲ့သော ဖိုင် ကို ပြီးမှသာ ပြန်လည် ကာလုံး မြှုပ်နှံပေးသည် |
Lsattr | ဖိုင် ရှိ ကွန်ပိုင်း ကို ပြသပေးသည် |
အမည် ပုံစံ ကြောင်း | အစိတ်အပိုင်းခွဲ ဖော်ပြ |
---|---|
Bunzip2 file1.bz2 | file ကို လွှတ်ပေးသည်1.bz2 ' |
Bzip2 file1 | file ကို အပူဇော်ပေးသည်1 ' |
Gunzip ဖိုင်1.gz | file ကို လွှတ်ပေးသည်1.gz' |
Gzip ဖိုင်1 | file ကို အပူဇော်ပေးသည်1 ' |
Gzip -9 file1 | အမြင့်အမြတ် အပူဇော် |
Rar a file1.rar test_file | file ကို ပေါင်းစပ်ပေးသည်1.rar ' |
Rar a file1.rar ဖိုင်1 file2 dir1 | file ကို အပူဇော်ပေးသည်1 ',' ဖိုင်2 'and directory'dir1' |
Rar x file1.rar | rar ပွဲစာ ကို လွှတ်ပေးသည် |
Unrar x file1.rar | rar ပွဲစာ ကို လွှတ်ပေးသည် |
Tar -cvf archive.tar file1 | အပူဇော် သော tar ဖိုင် တစ်ခု ဖန်တီးပေးသည် |
Tar -cvf archive.tar file1 file2 dir1 | file ကို ပေါင်းစပ်ပေးသည်1 ',' ဖိုင်2 'and'dir1' |
Tar -tf archive.tar | ပွဲစာ အချက်အလက် ကို ပြသပေးသည် |
Tar -xvf archive.tar | ပွဲစာ ကို ဖယ်ရှားပေးသည် |
Tar -xvf archive.tar -C /tmp | စီးပွားစိမ့် ဖိုင် ကို ဖယ်ရှားပေးသည် /tmp ဖိုင်ဆိုင် |
Tar -cvfj archive.tar.bz2 dir1 | bzip ပုံမှာ စီးပွားစိမ့် ဖိုင် တစ်ခု ဖန်တီးပေးသည်2 ပုံစံ |
Tar -jxvf archive.tar.bz2 | bzip ပုံမှာ စီးပွားစိမ့် ဖိုင် ကို လွှတ်ပေးသည်2 ပုံစံ |
Tar -cvfz archive.tar.gz dir1 | gzip ပုံမှာ စီးပွားစိမ့် ဖိုင် တစ်ခု ဖန်တီးပေးသည် |
Tar -zxvf archive.tar.gz | gzip ပုံမှာ စီးပွားစိမ့် ဖိုင် ကို လွှတ်ပေးသည် |
Zip ဖိုင်1.zip ဖိုင်1 | zip ပုံမှာ ဖိုင် တစ်ခု ဖန်တီးပေးသည် |
Zip -r ဖိုင်1.zip ဖိုင်1 file2 dir1 | အချို့ ဖိုင် နှင့် ဖိုင်ဆိုင်များ အပူဇော် တစ်ခု ကို zip ပုံမှာ ပေါင်းစပ်ပေးသည် |
ဖိုင် ကို လွှတ်ပေးသည်1.zip | zip ပုံမှာ ဖိုင် ကို လွှတ်ပေးသည် |
အမည် ပုံစံ ကြောင်း | အစိတ်အပိုင်းခွဲ ဖော်ပြ |
---|---|
Rpm -ivh package.rpm | rpm ပွဲစာ တစ်ခု ထောက်ခံမှု သတိပြုဘဲ တည်ဆောက်ပေးသည် |
Rpm -ivh --nodeeps package.rpm | မျက်နှာကို စီးပွားစိမ့်ကြောင်း ဆက်သွယ်ပေးသည် |
rpm -U package.rpm | Update an RPM package without changing its configuration file |
Rpm -F package.rpm | Update a confirmed installed rpm package |
Rpm -e package_name rpm | Delete an RPM package |
RPM -QA | Display all installed rpm packages in the system |
Rpm -qa | grep htpd | Display all rpm packages with the word "htpd" in their name |
RPM -Qi package_name | Get special information about an installed package |
RPM -qg "System Environments/Daemons" | Display the rpm package of a component |
RPM -QL package_name | Displays a list of files provided by an installed rpm package |
RPM -QC package_name | Displays a list of configuration files provided by an installed rpm package |
RPM -Q package_name --WhatRequires | Displays a list of dependencies with an rpm package |
RPM -q package_name --WhatProvides | Shows the volume of an rpm package |
Rpm -q package_name --scripts | Show scripts executed during installation/removal |
RPM -Q package_name --Changelog | Display the modification history of an RPM package |
RPM -QF /etc/httpd/conf/httpd.conf | Verify which rpm package provided the given file |
Rpm -qp package.rpm -l | Show a list of files provided by an uninstalled rpm package |
RPM --import /media/cdrom/RPM-GPG-KEY | Import Public Key Digital Certificate |
Rpm --checksig package.rpm | Verify the integrity of an RPM package |
Rpm -qa gpg-pubkey | Verify the integrity of all installed rpm packages |
RPM -V package_name | Check file size, license, type, owner, group, MD5 check, and last modified |
RPM -Va | Check all installed rpm packages in the system - use with caution |
Rpm -Vp package.rpm | Confirm that an rpm package has not been installed |
Rpm2cpio package.rpm | cpio --extract --make-directories * bin * | Running an executable from an rpm package |
Rpm -ivh /usr/src/redhat/RPMS/arch/package.rpm | Install a built package from an rpm source |
RPMbuild --rebuild package_name src.rpm | Build an RPM package from an RPM source |
အမည် ပုံစံ ကြောင်း | အစိတ်အပိုင်းခွဲ ဖော်ပြ |
---|---|
Yum install package_name | Download and install an RPM package |
Yum localinstall package_name | သင်၏ ပုံစံ ဆောင်းခံ ကို တပ်ဆင်ပါတယ်၊ သင်၏ ပုံစံ အချုပ်ကို အသုံးပြု၍ အဆိုပါ အလိုရှိ ဆိုင်းင်းသုံးစွဲမှုများ အား တွေ့ရှိပါ |
Yum update package_name | Update all installed rpm packages in the current system |
Yum update package_name | Update an rpm package |
Yum remove package_name | Delete an RPM package |
Yum list | List all packages installed in the current system |
Yum search package_name | Search for packages in the rpm repository |
Yum cleaning packages | Clean the rpm cache and delete downloaded packages |
Yum cleaning headers | Delete all header files |
Yum clean all | Delete all cached packages and header files |
အမည် ပုံစံ ကြောင်း | အစိတ်အပိုင်းခွဲ ဖော်ပြ |
---|---|
Dpkg -i package.deb | အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ်/ပြန်လည်ပေးသည် အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ်၏ ကြည့်ကြည့် |
Dpkg -r package_name | အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ် ကို အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ်မှ ဖယ်ရှားကြည့် |
Dpkg -l | Display all installed deb packages in the system |
Dpkg -l | grep htpd | Display all deb packages with the word "htpd" in their name |
Dpkg -s package_name | Obtain information about a special package that has been installed in the system |
DPKG -L package_name | Displays a list of files provided by a deb package already installed on the system |
Dpkg --contents package.deb | Displays a list of files provided by a package that has not yet been installed |
DPKG -S /bin/ping | Verify which deb package provided the given file |
အမည် ပုံစံ ကြောင်း | အစိတ်အပိုင်းခွဲ ဖော်ပြ |
---|---|
အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ်-get install package_name | အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ်/ပြန်လည်ပေးသည် အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ်၏ ကြည့်ကြည့် |
အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ်-ပြန်လည်ပေးသည် အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ်၏ ကြည့်ကြည့် | အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ်/ပြန်လည်ပေးသည် အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ်၏ ကြည့်ကြည့် |
အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ်-get update | အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ် အားလုံးကို ပြန်လည်ပေးသည် |
အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ်-get upgrade | အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ် အားလုံးကို အဆိုပါအခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ်မှ အဆိုပါအခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ်မှ ပြန်လည်ပေးသည် |
အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ်-get remove package_name | အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ် ကို အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ်မှ ဖယ်ရှားကြည့် |
အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ်-get check | လုပ်သူအမည်မျှော်စင်တံဆိပ်ကို ကိုယ်တိုင် စစ်ဆေးကြည့် |
အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ် get clean | အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ် ကို အောက်ဆုံးတံဆိပ်မှ ပြန်လည်ပေးသည် |
အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ်-အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ် အမည်မျှော်စင်တံဆိပ် ကြည့်ကြည့်-အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ် | လုပ်သူအမည်မျှော်စင်တံဆိပ်ကို အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ်မှ ပြန်လည်ပေးသည် |
အမည် ပုံစံ ကြောင်း | အစိတ်အပိုင်းခွဲ ဖော်ပြ |
---|---|
Cat file1 | အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ်၏ အကြောင်းအရာ၏ အစပြုအခွဲမှ ကြည့်ကြည့် |
အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ်၏ အကြောင်းအရာ၏ အစပြုအခွဲမှ ကြည့်ကြည့်1 | အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ်၏ နောက်ဆုံးအခွဲမှ အစပြု၍ အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ်၏ အကြောင်းအရာကို ကြည့်ကြည့်ကြည့်ကြည့် |
လွှာတိုက်အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ်1 | အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ်၏ အကြောင်းအရာကို ကြည့်ကြည့်ကြည့်ကြည့် |
လွှာတိုက်1 | 'more' အမိန့်ကဲ့သို့ ဖြစ်ပေါ်နေသည် သော်လည်း အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ်တွင် နောက်ဆုံးအခွဲမှ အစပြု၍ စစ်ဆေးကြည့်ရမည် |
ဝေါဟာရ -2 file1 | အခွဲခွဲသုံးသပ်တုန်းပုံးတံဆိပ်ကို စစ်ဆေးကြည့် |
Tail -2 file1 | Examine the last two lines of a file |
Tail -f /var/log/messages | View content added to a file in real time |
အမည် ပုံစံ ကြောင်း | အစိတ်အပိုင်းခွဲ ဖော်ပြ |
---|---|
Cat file1 | command (sed, grep, awk, grep, etc...) > result.txt | Merge the detailed description text of a file and write the introduction to a new file |
Cat file1 | command (sed, grep, awk, grep, etc...) > > result.txt | Merge the detailed description text of a file and write the introduction to an existing file |
Grep Aug /var/log/messages | Look for the keyword "Aug" in the file '/var/log/messages' |
Grep ^ Aug /var/log/messages | Look for words starting with "Aug" in the file '/var/log/messages' |
Grep [0-9] /var/log/messages | Select all lines containing numbers in the '/var/log/messages' file |
Grep Aug -R /var/log/* | Search for string "Aug" in directory '/var/log' and subsequent directories |
Sed's/stringa1/stringa2/g'example.txt | Replace "string1" in the example.txt file with "string2" |
Sed '/^ $/d' example.txt | Remove all blank lines from the example.txt file |
Se d '/ *#/ d;/^ $/d'example.txt from example.txt | Remove all comments and blank lines from the file |
Echo'esempio '| tr' [: lower :]' '[: upper:] ' | Merge upper and lower cell contents |
Sed -e '1d' result.txt | Exclude the first line from the file example.txt |
Sed -n '/stringa1/p' | View lines containing only the word "string1" |
Sed -e's / *$//' example.txt | Delete the whitespace at the end of each line |
Sed -e's/stringa1/g'example.txt | Delete only the word "string1" from the document and keep all the rest |
Sed -n '1,5p; 5q' example.txt | Review the content from the first line to the fifth line |
Sed -n '5p; 5q' example.txt | Check line 5 |
Sed -e's/00 */0/g'example.txt | Replace multiple zeros with a single zero |
Cat -n file1 | Identify the number of lines in the file |
Cat example.txt | awk'NR% 2 == 1 ' | Delete all even-numbered lines in the example.txt file |
Echo a b c | awk '{print 1 ဒေါ်လ� | |
Echo a b c | awk '{print 1 ဒေါ်လာ, 3 ဒေါ်လာပြီ | စခန်း ပုံစံ ပထမ နှင့် တတိယ စခန်းကို စစ်ပါ |
ဖိုင် ပြုပြင်ပါ1 file2 | " ဖြင့် နှစ်ဖက်ဆိုင်ရာ အရာပေါင်းများသို့မဟုတ် စခန်းများကို ပေါင်းပါ |
ပြုပြင်ပါ -d '+' ဖြင့် ဖိုင်1 file2 | " ဖြင့် နှစ်ဖက်ဆိုင်ရာ အရာပေါင်းများသို့မဟုတ် စခန်းများကို ပေါင်းပါ+" အကြား |
Sort file1 file2 | နှစ်ဖက်ဆိုင်ရာ အရာပေါင်းများကို ပြင်ဆင်ပါ |
Sort file1 file2 | uniq | နှစ်ဖက်ဆိုင်ရာ ဖြစ်သော အရာပေါင်းများကို ဖယ်ရှားပါ |
Sort file1 file2 | uniq -u | Delete the intersection, leaving other lines |
Sort file1 file2 | uniq -d | Remove the intersection of two files (leaving only files that exist in both files simultaneously) |
Comm -1 file1 file2 | Comparing the contents of two files removes only the content contained in'file1 ' |
Comm -2 file1 file2 | Comparing the contents of two files removes only the content contained in'file2 ' |
Comm -3 file1 file2 | Compare the contents of two files to delete only the parts common to both files |
အမည် ပုံစံ ကြောင်း | အစိတ်အပိုင်းခွဲ ဖော်ပြ |
---|---|
Dos2unix filedos.txt fileunix.txt | Convert a text file format from MSDOS to UNIX |
Unix2dos fileunix.txt filedos.txt | Convert a text file format from UNIX to MSDOS |
Recode.. HTML < page.txt > Page.html | Convert a text file to HTML. |
Recode -l | more | Show all allowed conversion formats |
အမည် ပုံစံ ကြောင်း | အစိတ်အပိုင်းခွဲ ဖော်ပြ |
---|---|
Badblocks -v /dev/hda1 | Check for bad magnets on disk hda1 |
FSCK /dev/hda1 | Repair/check the integrity of the Linux file system on the HDA1 disk |
Fsck.ext2 /dev/hda1 | Repair/check the integrity of the ext2 file system on the hda1 disk |
E2FSCK /dev/hda1 | Repair/check the integrity of the ext2 file system on the hda1 disk |
E2fsck -j /dev/hda1 | Repair/check the integrity of the ext3 file system on the hda1 disk |
Fsck.ext3 /dev/hda1 | Repair/check the integrity of the ext3 file system on the hda1 disk |
Fsck.vfat /dev/hda1 | Repair/check the integrity of the fat file system on the hda1 disk |
Fsck.msdos /dev/hda1 | Repair/check the integrity of the DOS file system on the HDA1 disk |
Dosfsck /dev/hda1 | Repair/check the integrity of the DOS file system on the HDA1 disk |
အမည် ပုံစံ ကြောင်း | အစိတ်အပိုင်းခွဲ ဖော်ပြ |
---|---|
MKFS /dev/hda1 | Create a file system in the HDA1 partition |
MKE2FS /dev/hda1 | Create a linux ext2 filesystem in the hda1 partition |
MKE2FS -J /dev/hda1 | Create a linux ext3 (journaling) filesystem in the hda1 partition |
MKFS -T vfat 32 -F /dev/hda1 | Create a FAT32 file system |
Fdformat -n /dev/fd0 | Format a floppy disk |
MKSwap /dev/hda3 | Create a swap file system |
အမည် ပုံစံ ကြောင်း | အစိတ်အပိုင်းခွဲ ဖော်ပြ |
---|---|
MKSwap /dev/hda3 | Create a swap file system |
Swapon /dev/hda3 | Enable a new swap file system |
Swapon /dev/hda2 /dev/hdb3 | Enable two swap partitions |
အမည် ပုံစံ ကြောင်း | အစိတ်အပိုင်းခွဲ ဖော်ပြ |
---|---|
Dump -0aj -f /tmp/home0.bak /home | Make a complete backup of the '/home' directory |
Dump -1aj -f /tmp/home0.bak /home | Make an interactive backup of the '/home' directory |
Restore -if /tmp/home0.bak | Restore an interactive backup |
Rsync -rogpav --delete /home /tmp | Sync directories on both sides |
Rsync -rogpav -e ssh --delete /home ip_address:/tmp | Via SSH channel rsync |
Rsync -az -e ssh --delete ip_addr:/home/public /home/local | ခရိုင်းခုံးအုပ်စုံးခြင်းကို ခရိုင်းခုံးအုပ်စုံးခြင်းကို |
Rsync -az -e ssh --delete /home/local ip_addr:/home/public | ခရိုင်းခုံးအုပ်စုံးခြင်းကို ခရိုင်းခုံးအုပ်စုံးခြင်းကို |
Dd bs = 1M if =/dev/hda | gzip | ssh user@ip _addr 'dd of = hda.gz' | ခရိုင်းခုံးအုပ်စုံးခြင်းကို ခရိုင်းခုံးအုပ်စုံးခြင်းကို ခရိုင်းခုံးအုပ်စုံးခြင်းကို ခရိုင်းခုံးအုပ်စုံးခြင်းကို |
Dd if =/dev/sda of =/tmp/file1 | Backup disk contents to a file |
Tar -Puf backup.tar /home/user | Perform an interactive backup of the '/home/user' directory |
(Cd /tmp/local/& tar c . ) | ssh -C user@ip _addr 'cd /home/share/& & tar x -p' | Copy the contents of a directory in a remote directory via ssh |
(Tar c /home) | ssh -C user@ip _addr 'cd /home/backup-home & & tar x -p' | Copy a local directory in a remote directory via ssh |
Tar cf - . | ( cd /tmp/backup; tar xf -) | Copy a directory locally to another place, retaining the original permissions and links |
Find /home/user1 -name '* .txt' | xargs cp -av --target-directory =/home/backup/--parents | Find and copy all files ending in '.txt' from one directory to another |
Find /var/log -name '* .log' | tar cv --files-from = - | bzip2 > log.tar.bz2 | '.log' အပိုး အဆိုပါ အချုပ် အဆိုပါ အချုပ် အဆိုပါ အချုပ် အဆိုပါ အချုပ် အဆိုပါ အချုပ် ပြောင်းလဲသည် |
Dd if =/dev/hda of =/dev/fd0 bs = 512 count = 1 | MBR (Master Boot Record) အဆိုပါ အချုပ် အဆိုပါ အချုပ် အဆိုပါ အချုပ် ပြောင်းလဲသည် |
Dd if =/dev/fd0 of =/dev/hda bs = 512 count = 1 | အဆိုပါ အော်ဒီဒီ အဆိုပါ အချုပ် အဆိုပါ အချုပ် အဆိုပါ အချုပ် အဆိုပါ အော်ဒီဒီ အဆိုပါ အော်တာနယ် ပြောင်းလဲသည် |
အမည် ပုံစံ ကြောင်း | အစိတ်အပိုင်းခွဲ ဖော်ပြ |
---|---|
CDRecord -v gracetime = 2 dev =/dev/cdrom -eject blank = fast -force | ပြား အဆိုပါ ပြန်လည်ဖတ်နိုင်သည် ပြား အဆိုပါ အချုပ် အဆိုပါ အချုပ် အသီးသီး ဖယ်ရှားသည် |
Mkisofs /dev/cdrom > cd.iso | ပြား အဆိုပါ အော်ဒီဒီ ပြား ပြား အဆိုပါ အော်ဒီဒီ အဆိုပါ အော်တာနယ် ပြောင်းလဲသည် |
Mkisofs /dev/cdrom | gzip > cd_iso | အော်ဒီဒီ ပြား ပြား အဆိုပါ အော်ဒီဒီ အဆိုပါ အော်တာနယ် ပြောင်းလဲသည် |
MKISOFS -J -allow-leading-dots -R -V "Label CD" -iso-level 4 -o./cd.iso data_cd | အကွင်းအချုပ် အဆိုပါ အော်ဒီဒီ အဆိုပါ အော်တာနယ် ပြောင်းလဲသည် |
Cdrecord -v dev =/dev/cdrom cd.iso | ISO အမည် အဆိုပါ အော်ဒီဒီ အဆိုပါ အော်တာနယ် ပြောင်းလဲသည် |
Gzip -dc cd_iso | cdrecord dev =/dev/cdrom - | အဆိုပါ အကွင်းအချုပ် အဆိုပါ အော်ဒီဒီ အဆိုပါ အော်တာနယ် ပြောင်းလဲသည် |
Mount -o loop cd.iso /mnt/iso | ISO အမည် အဆိုပါ အော်ဒီဒီ အဆိုပါ အော်တာနယ် ပြောင်းလဲသည် |
cd-paranoia -B | အဆိုပါ အော်ဒီဒီ အဆိုပါ ဝိုက် ဖိုင် အဆိုပါ အော်ဒီဒီ အဆိုပါ အော်တာနယ် ပြောင်းလဲသည် |
CD-paranoia -- "-3" | အဆိုပါ အော်ဒီဒီ အဆိုပါ ဝိုက် ဖိုင် အဆိုပါ အဆိုပါ အော်ဒီဒီ အဆိုပါ အော်တာနယ် ပြောင်းလဲသည် (အတည်ပြု) -3) |
CDRecord --scanbus | bus အကွင်းအချုပ် အတည်ပြုသည် |
Dd if =/dev/hdc | md5sum | MD အတည်ပြုသည်5အကွင်းအချုပ် အဆိုပါ အော်ဒီဒီ အဆိုပါ အော်တာနယ် ပြောင်းလဲသည် |
အမည် ပုံစံ ကြောင်း | အစိတ်အပိုင်းခွဲ ဖော်ပြ |
---|---|
Dhclient eth01 | dhcp စက်အချုပ် 'eth0' အကွင်းအချုပ် အချုပ် ဖွင့်ပေးသည် |
Ethtool eth01 | အကွင်းအချုပ် အကွင်းအချုပ် 'eth0' အဆိုပါ ပြောင်းလဲသည် |
အကွင်းအချုပ် www.example.com | Find Hostname to Resolve Name and Internet Protocol Address and Mirror |
အကွင်းအချုပ် အမည် | အကွင်းအချုပ် အမည် ပြသသည် |
Ifconfig eth0 | အန်တာနိုင်ငံကွန်ရက်နှင့် အဆိုပါ အဆိုပါ အော်တီတီနိုင်ငံကွန်ရက် အကွင်းအချုပ် ပြသသည် |
Ifconfig eth0 192.168.1.1 netmask 255.255.255.0 | Control Internet Protocol Addresses |
Ifconfig eth0 promisc | Set'eth0 'to promiscuous mode to sniff data packets |
Ifdown eth01 | Disable an'eth0 'network device |
Ifup eth01 | Enable an'eth0 'network device |
IP link show | Display the connection status of all network devices |
Iwconfig eth1 | Displays the configuration of a wireless network interface card |
IWList scan | Show wireless network |
mii-tool eth01 | Show the connection status of'eth0 ' |
Netstat -Tup | Display all enabled network connections and their PIDs |
Netstat -tup1 | Display all network services in the system and their PIDs |
Netstat -rn | Display the routing table, similar to the "route -n" command |
Nslookup www.example.com | Find Hostname to Resolve Name and Internet Protocol Address and Mirror |
Route -n | Show routing table |
Route added -net 0/0 gw IP Gateway | Control Preset Gateway |
Route add -net 192.168.0.0 netmask 255.255.0.0 gw 192.168.1.1 | ကွားယူရာ အချို့လုံး ပေါ် ခွဲထားသော စကာတင်ပုံစံ192.168.0.0/16 ' |
Route del 0/0 gw IP gateway | Delete static route |
Echo "1" > /proc/sys/net/ipv4/ip_foward | Activate IP forwarding |
Tcpdump tcp port 80 | Show all HTTP loops |
Whois www.example.com | Search in the Whois database |
အမည် ပုံစံ ကြောင်း | အစိတ်အပိုင်းခွဲ ဖော်ပြ |
---|---|
Mount -t smbfs -o Username = user, password = pass //WinClient/share/mnt/share | Mount a windows network share |
Nbtscan ip addr | Netbios name resolution |
Nmblookup -A ip addr | Netbios name resolution |
smbclient -L ip addr/hostname | Display a remote share of a Windows host |
smbget -Rr smb://ip addr/share | Ability to download files from a windows host via smb like wget |
အမည် ပုံစံ ကြောင်း | အစိတ်အပိုင်းခွဲ ဖော်ပြ |
---|---|
Iptables -t filter -L | Show all links to the filter table |
Iptables -t nae -L | Show all links to the NAT table |
Iptables -t filter -F | Clean up all rules based on the filter table |
Iptables -t nat -F | Clean up all rules based on the nat table |
Iptables -t filter -X | Delete all user-created links |
IPTables -t filter -A INPUT -p tcp --dport telnet -j ACCEPT | Allow telnet access |
IPTables -t filter -A OUTPUT -p tcp --dport telnet -j DROP | Block telnet access |
Iptables -t filter -A FORWARD -p tcp --dport pop3 -j ACCEPT | Allow POP3 စစ်ဆေးပို့ဆောင်လမ်း ပေါ် ချိတ်ဆက် |
Iptables -t filter -A INPUT -j LOG --log-ပထမဆုံး | အချို့လုံး ခွဲထားသော စကာတင်ပုံစံ |
Iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE | Set up a PAT (Port Address Translation) to mask outgoing packets in eth0 |
Iptables -t nat -A POSTROUTING -d 192.168.0.1 -p tcp -m tcp --dport 22-j DNAT --to-destination 10.0.0.2:22 | Forward packets destined for one host address to another host |
အမည် ပုံစံ ကြောင်း | အစိတ်အပိုင်းခွဲ ဖော်ပြ |
---|---|
Free -m | List RAM status in megabytes |
Kill -9 process id | Forcibly close the process and end it |
Kill -1 process id | Force a process to overload its configuration |
Last reboot | Show restart history |
lsmod | kernel module for listing states |
Lsof -p process id | List of files opened by the process |
LSOF /home/user1 | အခြား အချက်အလက် အမှတ်အသား အချက်အလက် အချက်အလက် ဖော်ပြ |
PS -eafw | အခြား အချက်အလက် အမှတ်အသား အချက်အလက် ဖော်ပြ |
Ps -e -o pid, args --forest | အခြား အချက်အလက် အမှတ်အသား အချက်အလက် အချက်အလက် ဖော်ပြ |
PSTRESS | အစိတ်အပိုင်းခွဲ ပုံရိပ် ဖော်ပြ |
SmartCTL -A /dev/hda | SMART ကို အခြား အချက်အလက် အမှတ်အသား ဖော်ပြ လုပ်ဆောင် ပြီး အခြား အချက်အလက် အရာများ သိပ်သတ်ပါ |
SmartCTL -I /dev/hda | SMART ကို အခြား အချက်အလက် အမှတ်အသား အချက်အလက် ဖော်ပြ |
Strace -c ls >/dev/null | အခြား အပေါ် ပျက်စီး လုပ်ဆောင် ပြီး လုပ်ဆောင် သွင်းသွင်း အချက်အလက် စာရင်း |
Strace -f -e open ls >/dev/null | list library call |
Tail /var/log/dmesg | kernel စီစဉ် အခြေအနေ အချက်အလက် ဖော်ပြ |
Tail /val/log/messages | အခြေအနေ ဖြင့် အစိတ်အပိုင်းခွဲ ဖော်ပြ |
top | အခြေအနေ ဖြင့် အလားအလာ ပေါ် အသုံးပြု ပါ |
Watch -nl'cat /proc/interrupts ' | အခြေအနေ ဖြင့် လုပ်ဆောင် အပေါ် ပျက်စီးမှုများ စာရင်း |
အမည် ပုံစံ ကြောင်း | အစိတ်အပိုင်းခွဲ ဖော်ပြ |
---|---|
Alias hh = 'history' | အမည် ပုံစံ အချက်အလက် အမည် ကို အစိတ်အပိုင်းခွဲပါ |
Apropos... အကိုးခံ | ပရိုဂရမ် ကိုးကွယ် အမည် အကိုးခံ များ ပြင်ပတ်သက် ပြီး လက်တွေ့ လက်တွေ့ ကို သိရှိ ပြီး အမည် မပြေစီးခြင်း မရှိ ဖြစ် သော အခါ အသုံးဝင် သည် |
CHSH | shell အမည် ပုံစံ ကို ပြောင်းလဲပါ |
CHSH --list-shells | အခြား အမှတ်အသား သိရှိရမည့် အရာကို အဝှမ်း လုပ်ဆောင်ရန် ကောင်းမွန်သော အမည် |
GPG -C ဖိုင်l | GNU စိတ်ရည်ချိတ် ဖိုင်ကို လုပ်ဆောင်ပါ |
Gpg ဖိုင်l.gpg | GNU စိတ်ရည်ချိတ် ဖိုင်ကို ဖြေဖျူဖြေဖျူပါ |