Linux System file properties

Source: Internet
Author: User

Linux System file properties:


[[Email protected]_back ~]# stat keepalived-1.2.7.tar.gz View file properties

File: "Keepalived-1.2.7.tar.gz"

size:289380 blocks:568 IO block:4096 Normal file

device:803h/2051d inode:282734 links:1

Access: (0644/-rw-r--r--) Uid: (0/root) Gid: (0/root)

access:2015-04-04 19:44:46.838870314 +0800

Modify:2014-01-28 19:51:19.000000000 +0800

change:2015-04-04 19:41:40.858870866 +0800


[[Email protected]_back ~]# ll view file and directory properties

Total dosage 292

Drwxrwxr-x 7 1000 1000 4096 April 4 20:19 keepalived-1.2.7

-rw-r--r--1 root root 289380 January keepalived-1.2.7.tar.gz

Drwxr-xr-x 4 root root 4096 April 4 19:53 Tools


[Email protected]_back ~]# ls-lhi-h (Human)-I (Inode)

Total dosage 292K

299602 drwxrwxr-x 7 4.0K April 4 20:19 keepalived-1.2.7

282734-rw-r--r--1 root root 283K January keepalived-1.2.7.tar.gz

260114 drwxr-xr-x 4 root root 4.0K April 4 19:53 Tools

The second column of the first column is the file or directory name of the last modified time file of the master and the file

Document and directory permissions connected to group and target Mtime

Catalog section of the record large

Small number of points

Inode


Index node-inode

The Inode is used to store information about the properties of a file, but it does not contain a filename

Block is used to store the contents of the actual data of the file


[[Email protected]_back ~]# ls-i Tools View the Inode node of the tools directory, or view the Inode node of the file

282727 apr-1.5.1.tar.gz

283476 apr-util-1.5.4.tar.gz

283477 Discuz_x3.2_sc_gbk.zip

283478 httpd-2.4.12.tar.gz

278443 mysql-5.6.23

283479 mysql-5.6.23.tar.gz

299806 nginx-1.6.2

283480 nginx-1.6.2.tar.gz

283481 php-5.6.3.tar.gz

283482 Wordpress-4.0-zh_cn.zip


[[Email protected]_back ~]# df-i View inode totals and usage

Filesystem inodes iused IFree iuse% mounted on

/dev/sda3 512064 85974 426090 17%/

TMPFS 126536 1 126535 1%/DEV/SHM

/DEV/SDA1 51200 51162 1%/boot


Linux File types:

1. Normal file-(regular file) files that begin with are normal files

2. directory files at the beginning of file D (directory)

3. link file at the beginning of the document is a linked file

4. Block Device file B (block)

5. Character device file C (character)

6. Socket file (socket file)

7. pipe file P (named pipe)


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6B/E4/wKiom1U5C8SBeJM7AAEDQEM9QbA529.jpg "title=" Node failure case. png "alt=" wkiom1u5c8sbejm7aaedqem9qba529.jpg "/>


This article is from the "Lanzhou Linux operation and Maintenance" blog, please be sure to keep this source http://linuxzkq.blog.51cto.com/9379412/1637757

Linux System file properties

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.