Pages

Monday, June 25, 2012

Linux Stat command

A very handy command for Linux user which displays all the relevant information for files is stat
The command is equivalent to right click properties in windows.

It is  useful  to check the access Modify and change time of file

$> stat qrecent
  File: `qrecent'
  Size: 1082            Blocks: 8          IO Block: 4096   regular file
Device: 804h/2052d      Inode: 560742      Links: 1
Access: (0755/-rwxr-xr-x)  Uid: ( 3000/ rubicon)   Gid: ( 3000/ rubicon)
Access: 2010-04-06 01:01:13.000000000 -0400
Modify: 2010-04-06 01:01:13.000000000 -0400
Change: 2010-04-06 01:01:13.000000000 -0400

No comments:

Post a Comment