Brother Bird's private dish Linux video Tutorial Learning notes (Episode III)

Source: Internet
Author: User

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)

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.