- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- timestamp
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2009 01:35 AM
тАО05-02-2009 01:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2009 02:03 AM
тАО05-02-2009 02:03 AM
Solutionin very simple way,
you can use ls -altr command which will list out files /directory modify in accending order
here is output example to undestand more,
-rw-r--r-- 1 root root 685 Nov 4 2003 .rhosts.cfsaved
drwxr-xr-x 2 root root 1024 Nov 4 2003 .ncftp
drwxr-xr-x 5 root root 1024 Jan 16 2004 .cpan
-rw------- 1 root root 17542 Jan 16 2004 .lsof_stang103
-rw-r--r-- 1 root root 1475 Feb 20 2004 .profile
drwxr-xr-x 4 root root 1024 Apr 17 2006 ..
-rw-r--r-- 1 root root 36 Jun 23 2006 .netrc
-rw-r--r-- 1 root root 369 Jun 23 2006 a.sh
-rw-r--r-- 1 root root 740 May 17 2007 .rhosts
drwxr-xr-x 3 root root 1024 Sep 13 2007 .subversion
drwx------ 2 root root 1024 Apr 27 14:19 .ssh
drwxr-xr-x 10 root root 1024 Apr 30 17:01 .
-rwxr-x--x 1 root root 958 Apr 30 17:01 system.perf.sh
drwxrwxr-x 30 root root 1024 May 1 00:01 .hist
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2009 08:27 AM
тАО05-02-2009 08:27 AM
Re: timestamp
Or in a script?
Or you want more resolution other than down to minutes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2009 09:16 PM
тАО05-02-2009 09:16 PM
Re: timestamp
Thanks for ur reply.
Actually i want to know the timestamp of old files means last year's.while listing last year's files, it sohws only date and year no time.How to get the time ,the file created?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2009 10:28 PM
тАО05-02-2009 10:28 PM
Re: timestamp
dont know if this has changed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2009 12:13 AM
тАО05-03-2009 12:13 AM
Re: timestamp
Does it really matter if so long ago? :-)
>Basheer: I think the system lists up to 6 months
Yes, as documented.
So other threads on how to change this:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1320053
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1279941
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1207493