stat . more from stat command

commandline session

$ls
store  store1
$pwd
/home/jeffrin/Test
$stat store
  File: ‘store’
  Size: 19        	Blocks: 8          IO Block: 4096   regular file
Device: 801h/2049d	Inode: 7036935     Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/ jeffrin)   Gid: ( 1000/ jeffrin)
Access: 2013-06-29 18:37:33.000000000 +0530
Modify: 2013-06-29 18:37:30.000000000 +0530
Change: 2013-06-29 18:37:30.000000000 +0530
 Birth: -
$stat -f store
  File: "store"
    ID: f7da53a314c76a3d Namelen: 255     Type: ext2/ext3
Block size: 4096       Fundamental block size: 4096
Blocks: Total: 581002890   Free: 23134751   Available: 20155347
Inodes: Total: 14901248   Free: 134100922
$stat -t store
store 19 8 81a4 1000 1000 801 7036935 1 0 0 1372511253 1372511250 1372511250 0 4096
$stat -f -t store
store f7da53a314c76a3d 255 ef53 4096 4096 581002890 23134516 20155112 14901248 134100919
$stat -f -t -c %A store
?
$stat  -c %A store
-rw-r--r--
$stat  -c %m store
/
$stat  -c %G store
jeffrin
$stat  -c %i store
7036935
$stat  -c %n store
store
$

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s