Results 1 to 4 of 4

Thread: Command to know last access and modification time

Hybrid View

  1. #1

    Command to know last access and modification time

    Hi,

    Is there any command that one can use in order to find out when a particular type of file (text,binary,image etc) any where on the system (Fedora core as the os) was last accessed and modified? One well known practice is to right click and have a look at the gui box that appears. But what about a command line way of finding this out? Cheers...

  2. #2
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811
    # stat <file>
    Don't worry Ma'am. We're university students, - We know what We're doing.
    'Ruiat coelum, fiat voluntas tua.'
    Datalogi - en livsstil; Intet liv, ingen stil.

  3. #3

    Command to know last access and modification time

    #stat filename
    or
    stat directory name

  4. #4
    Quote Originally Posted by Zahid.Shafique View Post
    #stat filename
    or
    stat directory name
    Brilliant so simple yet effective. Thanks...

Similar Threads

  1. Last internet access time
    By tech291083 in forum Redhat / Fedora
    Replies: 4
    Last Post: 05-22-2007, 01:08 AM
  2. Adding Time to a Date Command...
    By Gary Penner in forum Linux - General Topics
    Replies: 2
    Last Post: 02-22-2005, 04:15 PM
  3. TAR command
    By vwgtiturbo in forum Linux - General Topics
    Replies: 2
    Last Post: 01-30-2004, 05:53 PM
  4. Replies: 1
    Last Post: 03-17-2002, 12:27 PM
  5. Long time listener, first time caller
    By bdl in forum General Chat
    Replies: 4
    Last Post: 09-08-2001, 09:32 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •