- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Date - file or directory
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
тАО08-20-2009 08:42 PM
тАО08-20-2009 08:42 PM
Date - file or folder
drwxrwxrwx 29 MONITOR users 1024 Aug 14 15:22 INTERFACES
thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2009 08:49 PM
тАО08-20-2009 08:49 PM
Re: Date - file or folder
You can use the touch command to change the date and timestamp of a file ,
Example:
# touch YYMMDDhhmm filename
See details for the date/time format
# man touch
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2009 09:07 PM
тАО08-20-2009 09:07 PM
Re: Date - file or folder
check this out :
https://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1250831195296+28353475&threadId=1335942
hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2009 09:26 PM
тАО08-20-2009 09:26 PM
Re: Date - file or folder
> [...]
When citing a Forum page, it's helpful to
change "forumsXX.itrc" to "forums.itrc",
and to omit the whole "admit=xxx+yyy+zzz&"
string. (Leave "threadId=vvv". See below
for an example.)
> You can use the touch command [...]
How does that change the format of "ls -l"
output?
A Forum search for keywords like, say:
ls date format
would find many better suggestions,
including, for example:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1363837
Someday, you should consider trying a search
before you ask. It's just a thought.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2009 09:36 PM - edited тАО09-25-2011 08:16 PM
тАО08-20-2009 09:36 PM - edited тАО09-25-2011 08:16 PM
Re: Date - file or directory
>Steven: would find many better suggestions, including, for example:
(You're too quick for me. ;-)
The ls.cat format in question would be:
12 %Y%m%d%H%M
$ NLSPATH=$PWD/%N.cat ll -d .
drwxrwxr-x 2 uuu ggg 24576 200908202330 ./
- Tags:
- ls.cat