Wednesday, October 10, 2012
How to use stat command in Linux…
stat command used to check status
of file and directory to check that when
it got created, accessed, modified and its inodes number etc. we can get complete
information of a file or directory with this command.
The example of this command is given
bellow.
~]#stat
anaconda-ks.cfg
File: `anaconda-ks.cfg'
Size: 1746
Blocks: 8 IO Block:
4096 regular file
Device: 802h/2050d Inode: 2097161 Links: 1
Access:
(0600/-rw-------) Uid: ( 0/
root) Gid: ( 0/
root)
Access: 2012-10-08
14:59:57.731037711 +0530
Modify: 2012-10-05
14:52:31.366189336 +0530
Change: 2012-10-05
14:52:35.482189599 +0530
0 comments:
Post a Comment