- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Date - file or folder
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
Date - file or folder
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-20-2009 08:42 PM
08-20-2009 08:42 PM
Date - file or folder
Date - file or folder
drwxrwxrwx 29 MONITOR users 1024 Aug 14 15:22 INTERFACES
thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-20-2009 08:49 PM
08-20-2009 08:49 PM
Re: Date - file or folder
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-20-2009 09:07 PM
08-20-2009 09:07 PM
Re: Date - file or folder
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-20-2009 09:26 PM
08-20-2009 09:26 PM
Re: Date - file or folder
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
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 ./
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP