Ubuntu Linux has a rich set of commands for manipulating and accessing files. The stat utility gives detailed access to file information, including last accessed and last modified file time.
From the terminal window, run the command with this syntax:
stat filename
ex:-
stat /usr/bin/k3b
File: `/usr/bin/k3b'
Size: 1996852 Blocks: 3912 IO Block: 4096 regular file
Device: 801h/2049d Inode: 5661472 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2008-09-30 18:59:08.000000000 +0530
Modify: 2008-01-30 17:31:38.000000000 +0530
Change: 2008-09-25 18:22:55.000000000 +0530
source :- how to geek
NB:- Tested on ubuntu 8.04.1
No comments:
Post a Comment