I. System Architecture of Linux
Linux is a tree-down structure, the largest directory is "/" (root directory), and the root directory of the two-level directory is the system during the installation process.
Two. Administrative commands for files
One of the important ideas in Linux is that everything can be treated as a file , so it's important to deal with files in Linux learning, and here's how to manage files
1. Document creation
Touch File
Attention:
Touch can not only create files but also modify the timestamp of the file, the timestamp is divided into:
Atime: The time ID that is accessed within the file
Mtime: The time that the file content was modified is identified
CTime: The time that the file attribute or file content was modified is identified
That is, the corresponding command is: touch-a filename
touch-m filename
touch-c filename
You can see a new file named "File" appears on the desktop of the virtual machine, and a new file is created with the Touch command. If you want to see the effect of touch modification timestamps more visually, you can use the Stat command to do a simple experiment with touch-m as an example.
You can see that the second time you use the Touch command, the Modify and change of file files have changed, that is, Mtime and CTime have changed.
2. Create a Directory
mkdir Directory
Mkdir-p DIR1/DIR2/DIR3 # #-P indicates that when a recursive directory is established, it is automatically created when the upper directory does not exist
Linux from getting started to mastering--linux file addressing and file management