Main content:
Linux directory Configuration
Linux-supported file systems
Review the file types and extensions for Linux
The first attribute represents this file type
If it is [-], it is a normal file (ASCII binary data) (can be opened with the last command)
If it is [d], then it is a directory
If [l], it means that the file is a link block (link file)
If [b], the interface device that stores the data for system access
If [C], the port device for the serial interface, such as the keyboard, mouse
If [s], it is socket (sockets) (Var/run)
If [P], it is pipe (FIFO, pipe) (Var/run)
Linux files can be executed, with his first column of 10 properties and file content related
Linux file extension
*.sh: Batch file document (scripts), because it is written using the shell, so the suffix name is compiled. SH
*z *.tar *.tar.gz *zip *tgz Packaged compressed documents, this is because the compression software is Gunzip,tar, etc.
By different compression software, and take its associated suffix name
*.html *.php: Web-related documents, respectively, representing HTML syntax and PHP syntax for Web files
Program Language Perl files, followed by a prefix may also be taken. pl such file name
The maximum allowable file name for a single file or directory is 255 characters
Full pathname with full path name and directory (/) named 4,096 characters
Limitations of the Linux file name
In general, it is best to avoid some special characters when setting up a Linux file name
/etc Boot and system data files are in this directory
/bin/sbin/usr/bin/usr/sbin This is the placement directory for the system preset execution file
/usr/local This is the system preset to let you install your later Upgrade kit directory
/home This is where the system will have the username of the person who set up the house directory
/var www ftp db mail logmessages etc.
/usr/share/man/usr/local/man These two directories are places where you place the documentation for each type of kit
Linux supported file systems in directory:/lib/modules/' uname-r/kernel/fs
Brother Bird's private dish Linux video Tutorial Learning notes (Episode III)