Linux common command English full name and Chinese explanation Linux system

Source: Internet
Author: User
Tags clear screen create directory file copy save file 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

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.