Linux Basic Concepts-----File types

Source: Internet
Author: User

Normal file: Non-directory or other type of file (-)

Directory file (d): Linux directory is also a file, but the directory file contains the name of other files or directories and the corresponding Indoe number

Indoe Wikipedia:Inoderefers to the many "classesUNIX File System"One of theData. Each inode holds one of the file systemFile System Objects(includingFile,Directory,Device files,Socket,Pipeline, and so on), but does not include data content or file names.


Baidu Encyclopedia:

Inode number

Used to identify file types, and schema information for stat C functions

Number of links to files

The UID of the owner

Owner's group ID (GID)

Size of File

Actual number of disk blocks used by the file

Time of last modification

Time of last visit

The most important thing is the block location where the file is located, which is used to determine the location of the file on the hard disk.

Special files

Block device file (b)

Character file (c)

Soft link file (l)

Named pipe file (p)

Socket file (s)

###################

File: Determine the type of ordinary file

This article is from the "Hanging Sword" blog, please be sure to keep this source http://sublime.blog.51cto.com/8856101/1433620

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.