One linux Command every day (25): linux File Attribute details link: One linux Command every day (1): ls command running (2): cd command http://www.bkjia.com/ OS /201210/163050.html#a linuxcommand every day (3 ): pwd command Export (4): mkdir command http://www.bkjia.com/ OS /201210/1620.3.html#a linuxcommand every day (5): rm command Export (6): rmdir command http://www.bkjia.com/ OS /201210/1 64017. html; one linux Command every day (7): mv command running (8): cp command http://www.bkjia.com/ OS /201210/163164.html#a linuxcommand every day (9): touch command running (10): cat command running (11 ): nl command http://www.bkjia.com/ OS /201211/165990.htmla linuxcommand every day (12): more command http://www.bkjia.com/ OS /201211/165994.htmllinuxevery day Order (13): less command limit (14): head command limit (15): tail command limit (16): which command http://www.bkjia.com/ OS /201211/168890.htmla linuxcommand every day (17): whereis command limit (18 ): locate command http://www.bkjia.com/ OS /201211/168895.htmla linuxcommand every day (19): find Command overview example (20): exechttp of the find command: // www.bkjia.com/ OS /201211/168901.htmllinuxlinuxcommand every day (21): xargshttp of the find command: // parameters (22): parameters of the find command (23): Linux directory structure http://www.bkjia.com/ OS /201211/170430.htmla linuxcommand every day (24): Linux file type and extension http://www.bkjia.com/ OS /201211/170431.html Linux The attributes of a file or directory include the node, type, permission mode, number of links, user and user group, and the time of last access or modification of the file or directory. The specific situation is as follows: Command: www.2cto.com ls-lih output: [root @ localhost test] # ls-lih total export k2095120 lrwxrwxrwx 1 root 11 11 11-22 linklog. log-> log2012.log2095112-rw-r -- 1 root 296 K 11-13 06:03 log2012.log2095110-rw-r -- 1 root 61 11-13 06:03 log2013.log2095107-rw- r -- 1 root 0 11-13 log2014.log2095117-rw-r -- 1 root 0 11-13 log2015.log2095118-rw-r -- 1 root 0 11-16 log2016.log2095119-rw-r -- 1 root 0 11-16 log2017.log2095113 drwxr-xr-x 6 root 4.0 K 10-27 0scf2095109 drwxrwxr-x 2 root 4.0 K 11-13 test32095131 drwxrwxr-x 2 root 4.0 K 11-13 test4 instructions: column 1: inode Column 2: file types and permissions; Column 3: Number of hard links; Column 4: owner; column 5: group to which the file belongs; column 6: file or directory size; column 7 and Column 8: Last access or modification time; column 9: file name or directory name we use log2012.log as an example: 2095112-rw-r -- 1 root 296 K 11-13 06:03 l The value of og2012.loginode is: 2095112 file type: the file type is-, indicating that this is a common file. For the file type, refer to: a linux Command (24) every day ): file Permission for Linux File Types and extensions: The File Permission is rw-r --, indicating that the file owner is readable, writable, and unexecutable, and the user group to which the file belongs cannot be written or readable, it cannot be executed. Other users cannot write, read, or execute the file. Hard link count: log2012.log does not have a hard link. Because the value is 1, it is the file itself. File owner: that is, the user to which the file belongs. It is root, that is, the first root. File Group: that is, the user group to which the file belongs, here is the root user group; file size: the file size is KB; the access time can be modified: the time here is the last access time, the last time the access and file were modified or created is sometimes not the same; of course, the attributes of the document not only include these, these are some of our most common attributes. Inode: inode is an index node. After the partition of each storage device or storage device (the storage device is a hard disk, floppy disk, or USB flash disk) is formatted as a file system, there should be two parts, one part is inode, another part is Block, which is used to store data. Inode is used to store the data, including the file size, owner, owner user group, and read/write permissions. Inode indexes information for each file, so there is an inode value. Based on commands, the operating system can find the corresponding files with the fastest inode value. To make a metaphor, for example, a book, a storage device or partition is equivalent to this book. Block is equivalent to every page in the book, and inode is equivalent to the directory before this book. A book has a lot of content, if you want to find a part of the content, you can first check the directory to find the content we want to see as quickly as possible. Although not appropriate, it is still a relatively good image. When we use ls to view a directory or file, if we add the-I parameter, we can see the inode node. For example: [root @ localhost test] # ls-li log2012.log 2095112-rw-r -- 1 root 302108 11-13 03 log2012.loglog2012. the inode value of log is 2095112. To view inode of a file or directory, use the-I parameter of the ls command.