The system structure of 1.linux is inverted tree type
2./bin binary executable file is System command
/sbin System Management Command storage location
/boot boot partition, responsible for system boot
/dev Device Management files
/etc most system administration files
Home directory for normal users
/lib 32-bit system library file storage location
/LIB64 64-bit system library file storage location
/media,/mnt,/run system temporary set mount point
/OPT third-party software installation location
/proc System Information
/root Super User home Directory
/srv,/var System Data
/sys system Management, mainly about the kernel
/tmp system temporary file storage location
/usr System user-related information data and user-defined software storage location
3. System file path
Absolute path: File in the real location of the system, the file name begins with "/"
Relative path: The name of the file relative to the current location of the shorthand, which does not start with/, and the name will automatically add the PWD display value
4.PWD indicates where the current system is located
5.ls
List lists the target files, or lists the contents of the target
-A Lists all
-l list file attributes
-S lists file sizes
-R Recursive List
-d Specifies the directory itself
6.cd
Chage directory into the destination directory
~ Back to Current user home directory
~username into the specified user home directory
.. Go to your previous system directory
-Enter the previous system directory
7.touch New File
8.mkdir
Make Directory build Directory
-P Recursive build directory
9.cp
CP is copied to the file destination
-R Recursive replication
10.mv
MV is moved file destination
MV Test/file. Move the test/file to the current
11.rm
Rm-f forcing files to be deleted
RM-FR forcibly deleting a directory
12.
This article is from the "11847562" blog, please be sure to keep this source http://11857562.blog.51cto.com/11847562/1826887
System Architecture of Linux