![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DNS details of HP-UX | ksailesh | HP-UX | 2 | 01-10-2008 02:45 PM |
| DNS details of HP-UX ?? | ksailesh | Shell Programming and Scripting | 1 | 01-10-2008 12:58 PM |
| How does one get HW details? | garethh | UNIX for Dummies Questions & Answers | 3 | 02-22-2006 05:18 PM |
| HP -UX certification details. | Sireesha NP | HP-UX | 2 | 09-21-2005 09:56 AM |
| Ipc Details | G.Vishnuvardhan | UNIX for Dummies Questions & Answers | 2 | 07-26-2005 11:45 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
ls -ltr, TIME DETAILS ??
when I write the command ls -ltr it shows the detail of the files. Like
-rwxrwxrwx 1 mqsiadm mqbrkrs 0 Aug 29 14:03 dspmq_temp -rwxrwxrwx 1 mqsiadm mqbrkrs 666 Aug 30 06:12 dspmq_script In this,DATE TIME is shown, Now the question is : how can I see the all the times like Creation time, Modified time and Last access time of that file ? PLEASE HELP !! ASAP !! THANKS. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
There is no creation time kept for a file. See mtime, ctime, and atime
|
|
#3
|
||||
|
||||
|
This may be more info than you need, but here goes....
stat filename Example: Code:
$ stat mbox File: `mbox' Size: 14603436 Blocks: 28568 IO Block: 4096 regular file Device: 803h/2051d Inode: 1140936 Links: 1 Access: (0600/-rw-------) Uid: ( 1000/ cassj) Gid: ( 1000/ cassj) Access: 2007-09-01 10:11:22.000000000 -0400 Modify: 2007-08-25 01:23:30.000000000 -0400 Change: 2007-08-25 01:23:30.000000000 -0400 |
|
#4
|
|||
|
|||
|
stat does not work on AIX5.0, and I am using AIX.
It works as istat filename. Any other option ?? |
|
#5
|
||||
|
||||
|
How about taking a look at the link in Perderabo's post? I suggest that you read the entire tutorial. Very well written and very informative.
|
|
#6
|
|||
|
|||
|
Yup !!
Thanks "Blowtorch", actually i have read that link carefully !! |
|||
| Google The UNIX and Linux Forums |