![]() ![]() ![]() Uid: ( 1000/ sathiya) – File owner’s user id and user name are displayed.Let us see explanation about both the format. ![]() Access: (0600/-rw-): Access specifier displayed in both octal and character format.Inode: 1058122 – Inode number is a unique number for each file which is used for the internal maintenance by the file system.Device: 801h/2049d – Device number in hex and device number in decimal.This indicates that this is a regular file. regular file – Indicates the file type.IO Block: 4096 – IO block size for this file.Blocks: 8 – Total number of blocks used by this file.File: `/home/sathiyamoorthy/101hacks.txt’ – Absolute path name of the file.$ stat 101hacks.txtįile: `/home/sathiyamoorthy/101hacks.txt' Stat command displays file or filesystem status as explained in this article.įile Stat – Display Information About Fileįor example, to find out more information about 101hacks.txt file, execute the stat command as shown below. This includes devices, directories and sockets - all of these are files. i.e I would like to know more about a file or directory than what the ls -l command displays.Īnswer: Everything in Unix is treated as files. Question: How do I find out all the available file attributes.
0 Comments
Leave a Reply. |