What are the file attributes of the Linux system?

  

What are file attributes and what are the attributes of the file? I believe many people are not very familiar with the file attributes. The following small series will give a detailed introduction to the file attributes of the Linux system. If you want to know the knowledge of Linux file attributes, let's take a look.

Linux file or directory attributes include: node file or directory, type, permissions mode, number of links, belongs users and user groups, recently accessed or modified time and so on. The details are as follows:

Command: ls -lih

Output:

The code is as follows:

[root@localhost test]# ls -lih

Total 316K

2095120 lrwxrwxrwx 1 root root 11 11-22 06:58 linklog.log -> log2012.log

2095112 -rw-r--r-- 1 root Root 296K 11-13 06:03 log2012.log

2095110 -rw-r--r-- 1 root root 61 11-13 06:03 log2013.log

2095107 -rw- R--r-- 1 root root 0 11-13 06:03 log2014.log

2095117 -rw-r--r-- 1 root root 0 11-13 06:06 log2015.log

2095118 -rw-r--r-- 1 root root 0 11-16 14:41 log2016.log

2095119 -rw-r--r-- 1 root root 0 11-16 14:43 log2017.log

2095113 drwxr-xr-x 6 root root 4.0K 10-27 01:58 scf

2095109 drwxrwxr-x 2 root root 4.0K 11-13 06: 08 test3

2095131 drwxrwxr-x 2 root root 4.0K 11-13 05:50 test4
Previous12Next page Total 2 pages

Copyright © Windows knowledge All Rights Reserved