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

Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s