Several concepts of Linux, Common command learning

Source: Internet
Author: User

Several concepts of Linux, Common command learning
---------------------------------
Device Name
Mount point
Accessing the device through the mount point
---------------------------------
Root directory: CD/
Home directory: cd ~
Different users have different home directories, but have the same root directory
----------------------------------
Point file: A file or directory that starts with a point and can be used as a hidden directory
LS does not display
LS-A Display
--------------------------------
Standard Sub-Directory
/bin: Command Directory
/boot: Most files required for system startup
/dev: Device files and other special files
/etc: Configuration files required to start and run the system, and other software profiles
/home: User Directory
/lib: Contains the library files required by the program in/bin and/sbin
/MNT: Used to temporarily mount the file system. such as device mount points
/OPT: storage location for third-party applications
/proc: For exchanging data with the Linux kernel, including system information
/root: Super User's home directory
/sbin: Critical System Management Command storage directory
/tmp: Storing temporary files
/usr: Stores files and programs used by each user
/usr/local: Similar to/OPT
/USR/SRC: include Linux source code
/var: the place where variable data is stored. Log files, mail boxes, cache data, and so on.
----------------------------------
redirect
Save the output to a file
ls > out_list.txt//New
LS >> out_list.txt//Add Way
Input from File
<
Pipe redirection: The output of one program as the input of another
|
LS |LP//Send the contents of LS output to the printer
---------------------------------
Command a basket of
File commands
Ls
LN: Create shortcut, alias
Cp
Mv
Rm
Cat: Display file contents, can be multiple, through > can merge multiple files
MORE: Display one screen
Less: With more, press Q to end
Head: Look at the beginning of the file
Tail: Look at the end of the file
LPR: Sending file contents to the printer
grep: Searching
diff: Compare the contents of two files
Directory commands
PWD: Displays the full name of the current directory
Mkdir
RmDir: Delete an empty directory
Multi-user command
Users
W.H.O.
Finger:????
Security commands
passwd
chmod: Changing the Permissions property of a file or directory
Chown: Modifying the genus Group property of a file or directory
Network commands
Ftp
Rlogin: Log on to the remote system
RSH: Executing commands on a remote host
Telnet
-------------------------------------
Tools
Make
Mans
Info
Lilo: Responsible for loading Linux

Several concepts of Linux, Common command learning

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.