Linux common command English full name and Chinese explanation Linux system

Source: Internet
Author: User
Tags clear screen file copy disk usage

Linux common command English full name and Chinese explanation Linux system


Man:manual means manual, you can use this command to query the use of other commands.

Pwd:print working directory means the password.

Su:swith User switch users, switch to root user

Cd:change Directory Switch Directories

Ls:list files list the file under directory

Ps:process Status Process state

Mkdir:make Directory Creation

Rmdir:remove Directory Mobile Directories

Mkfs:make File System Setup

Fsck:file System Check FileSystem checks

Cat:concatenate Series

Uname:unix Name Name System

Df:disk free HDD

Du:disk Usage HDD Usage

Lsmod:list Modules List Module

Mv:move File Moving files

Rm:remove File Delete Files

Cp:copy File Copy files

Ln:link Files Link File

Fg:foreground foreground

Bg:background background

Chown:change owner Change Owners

Chgrp:change Group change user groups

Chmod:change Mode Change modes

Umount:unmount Uninstall

DD: should be named "CC" according to its function description "Convert an copy", but "CC" has been used to represent "C complier", so named "DD"

Tar:tape Archive Extract Files

Ldd:list dynamic dependencies lists dynamically dependent

Insmod:install Module Installation Modules

Rmmod:remove Module Delete Modules

Lsmod:list Module List Modules
sudo is a shorthand for superuser do



Reboot: Restart
Logout: Exit logoff
Binary: Binary
Device: Means of equipment
Etcetera: Wait. System configuration File
Recursion: Recursive (-R)
Disrecursion: No recursion) (-D)
Force: Direct override (-f)
All: All (-a)
List: List all information (-L)

If: Prompt for overwrite (-i)
Normal file (-): Text file and binary file
Catalog file (d): Folder
Connection file (L): LN-created file
Special files: Device files (b,c) and pipe files (p)
The graphical interface to logout is selected from the menu or shortcut key ctrl+alt+backspace
Modify login screen start: Vi/etc/inittab
3 Text 5 Images

Use man or info to view Help for commands
Use Fdisk-l to display the partitioning situation; df-h Display disk usage scenarios
Use Du-sh/* To view one (root directory all folders) directory occupies a disk case
View Linux version number: uname-a
Clear screen: Clear
Check the repair file system (abnormal shutdown): fsck
Find File: Find/etc-name file name (/etc for starting directory)
List details of a directory: Ls-l/etc (/etc for directory)
Current directory: CD. Previous level directory: CD. View directory path: pwd
Create directory: mkdir 1 (1 is file name)
Delete Empty directory: RmDir 1 Delete a directory or file that is not empty: Rm-r (-F) 1
View user information: VI/ETC/PASSWD
Implicit password: Vi/etc/shadow
View the contents of a file: Cat/etc/inittab
Moving files: MV 1.c/root (move 1.c to root)
Create File: VI 1.c
Copy files to the specified directory: cp/root/1.c/home/1.c (from the root directory to the home directory)
Compare two files: diff 1.c 2.c or CMP 1.c 2.c
Standard user input: Cat (after input ctrl d exits)

Display redirection: ls-l > Ls.txt (display to ls.txt;0> input redirection;1> output redirection;2> error redirection)

Set file read and Write permissions: chmod u+w 1.c (Increase file owner's rights to 1.c write)
chmod g-r 1.c (delete workgroup permissions for 1.c Read)
chmod o+x 1.c (Increase the execution rights of other users to 1.c)
chmod a-w 1.c (Delete all user rights to 1.c write)
List file indexes good: ls-i

Build a soft and hard connection: In-s/home/lxt008/008 (link lxt008 to 008 that is, 008 is a shortcut to lxt008 if no-s is a hard link)


To view the DNS client configuration: more/etc/resolv.conf
View IP Address: ifconfig (see whether the above two IP matches, if not match with the following command to modify)
Change network configuration: Netconfig (after modification, to use service network Restart Restart the network can be effective)
To view the default road-off: Route-n
Modify default gateway: Route add default GW 192.168.88.1 (IP and default gateway can be networked on the same network segment)
or modify the IP and subnet masks using ifconfig eth0 192.168.88.8 netmask 255.255.255.0
End Process: Ctrl + C (or D)
View network status: Netstat


To see if an RPM package is installed: Rpm-qi a.rpm
Install a package: RPM-IVH a.rpm
Package: TAR-CVF lxt008.tar/home/lxt008 (Package the Roadmap lxt008 folder in the home directory into Lxt008.tar v is the view abbreviation F is file)
Unpacking: TAR-XVF Lxt008.tar/home (unzip into home)
View the contents of the package: TAR-TVF Lxt008.tar
Package and compress: TAR-CZVF 008.tar.gz/home/lxtoo8
Unpacking Package: TAR-XZVF 008.tar.gz/home


Comment out: #
Create shell script: VI first.sh
Display string: echo "Wang Lin"
Wait for input from terminal to variable: Read f (variable f)
Display variable contents: Echo ${f}
View Environment variables: env
No line break required:-N
To view the running process: PS
Kill a Thread: Kill 1186 (1186 is the thread number)
Set a process to run in the background: Find/-name passwd & (Set the Find/-name passwd process to run in the background)

Pipe: ls-l/dev | More (list details under the dev directory and paging)

Save file in VI Editor: W + file name
Display line number:: Set Nu

http://mark-ztw.iteye.com/blog/1544367

Technology accumulation

Avoid half-hearted

Linux commands and full name apt = Advanced Packaging Toolar = Archiveras = Assemblerawk = "Aho Weiberger and Kernighan" The first letter of the last name of the three authors  b Ash = Bourne Again SHELLBC = Basic (Better) CALCULATORBG = Backgroundbin = BINaries (binary)  cal = CALendar Calendarca t = CATENATE CD = Change Directorychgrp = Change Groupchmod = Change Modechown = Change Ownerchsh = Change shellcmp = Comparecobra = Common Object Request Broker architecturecomm = COMMONCP = Copycpio = CoPy in and outcpp = C Pre Processor Cron = Chronos Greek time cups = Common Unix Printing Systemcvs = current Version System daemon = Disk and execution Monito RDC = Desk Calculatordd = Disk Dumpdf = Disk Freediff = DIFFERENCEDMESG = Diagnostic messagedu = Disk usage ed = edit Oregrep = Extended Grepelf = extensible linking Formatelm = ELectronic Mailemacs = Editor Macroseval = Evaluateex = EXtend Edexec = Execute/dev = DEVICES FD = File DESCRIPTORSFG = Foregroundfgrep = Fixed Grepfish = the friendly Interactive SHELLFMT = Formatfsck =File System checkfstab = FileSystem Tablefifo = First in, first Out gawk = GNU AWKGPG = GNU Privacy Guardgroff = GNU Troffgrub = GRand Unified Bootloader hal = Hardware Abstraction layer ifs = Internal Field Seperators joe = Joe ' s Own editor ksh = Korn shell lame = lame Ain ' t an MP3 Encoderlex = LEXical Analyserlisp = LISt processing = Lots of irritating superfluous Parenthesesln = LINKLPR = Line Printls = listlsof = LiSt Open Fileslilo = LInux loader&nb SP;M4 = Macro processor Version 4man = MANual Pagesmawk = Mike Brennan ' s awkmc = midnight Commandermime = Multipurpose Int Ernet Mail extensionsmkfs = Make Filesystemmknod = Make NODEMOTD = Message of the Daymozilla = MOsaic Godzillamtab = Mount TABLEMV = Move nano = Nano ' s another Editornawk = new AWKNL = number of linesnm = Namesnohup = No Hangupnroff = new Roff od = Octal dump passwd = PASSWORDPG = Pagerpico = PIne ' s message composition Editorpine = "Program for Inte Rnet News & Email "= "Pine is not Elm" ping = Packet InterNet Groperpirntcap = PRINTer CAPABILITYPOPD = POP DIRECTORYPR = preprintf = PRINT for Mattedps = Processes Statuspty = pseudo Ttypushd = PUSH directorypwd = Print working DIRECTORY RC = runcom = Run Comm And, rc or plan9 shellrev = Reverserm = Removern = Read Newsroff = runoffrpm = RPM Package Manager = RedHat Package Managerr SH, rlogin, rvim r = REMOTERXVT = Our xvt sed = Stream Editorseq = Sequenceshar = SHell ARCHIVESLRN = S-lang Rnssh = Secure Shellssl = secure Sockets Layerstty = Set ttysu = Substitute user or Switch user (the former is more common) sudo = Superuser/substitue User DOSVN = Subversion tar = Tape archivetcsh = Tenex C shelltee = t (T-shaped water pipe interface) Telnet = teminal over networktermcap = Terminal Capabilityterminfo = Terminal Informationtex = Greek arttr = Traslatetroff = typesetter new Rofftsort = topological Sorttty = TELETYPEWRITERTWM = Tom ' s Window managertz = Timezone udev = Userspace Devulimit = User ' s limitumask = use R ' s Maskuniq = UNIQUE&NBSp;vi = VIsual = Very inconvenient vim = VI Improved wall = Write ALLWC = Word Countwine = WINE is isn't an Emulator xa RGS = eXtended Arguments xdm = x Display managerxlfd = x Logical Font descriptionxmms = x Multimedia Systemxrdb = x R esources databasexwd = X Window DUMP YACC = yet another compiler compileryast = yet another Setup tool  the full name of the attached partial directory:  /dev = Devices/etc = Etcetera Etcetera/lib = Library/proc = Processes/sbin = Superuser binaries/tmp = TeMPorary/usr = Unix Shared Resources/var = variable http://www.cnblogs.com/kimblog/archive/2011/12/07/2279375.html 

Linux common Command English full name and Chinese explanation Linux system

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.