I. File type
1 File types
Plain files (regular file): Plain text document (ASCII), binary (binary), data format file.
2 contents (directory)
3 Symbolic Link file: Similar to shortcuts in Windows.
4 Device: block (block) device, storing data to provide system random access to the interface device; Character (character) device files, interface devices for some serial ports, such as keyboards, mice, and so on.
5 Data transfer file (Fifo,pipe)
Two. linux file name length limit:
The file name length in the Linux preset EXT2/EXT3 filesystem is limited to:
The maximum allowable file name for a single file or directory is 255 characters, including the full path name and the full file name of the directory (/) with 4,096 characters.
Three. Limitations of characters for Linux filenames:
Some special characters should usually be avoided due to some instructions in Linux under the text interface. For example:
* ? > <; &! [ ] | \ ' "' () {}
Because these symbols in the text interface, there is a special meaning. At the same time, since the command release often uses options such as-option, it is best to avoid naming the file name at the beginning of-or +.
Linux file types