Linux file types

Source: Internet
Author: User

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

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.