- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Find command
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
тАО02-10-2003 07:35 AM
тАО02-10-2003 07:35 AM
find . -mtime -5 | ll
find . -mtime -5 -exec ll {} \;
find . -mtime -5 | xargs ll
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2003 07:37 AM
тАО02-10-2003 07:37 AM
Re: Find command
I got it to work this way:
find . -mtime 5 | xargs ls -ld
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2003 07:38 AM
тАО02-10-2003 07:38 AM
Re: Find command
Your second example should work, but you may want to put "-d" option on "ll" so that directories don't list content.
find . -mtime -5 -exec ll -d {} \;
HTH
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2003 07:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2003 07:43 AM
тАО02-10-2003 07:43 AM
Re: Find command
last option using ll -d instead 0f ll
find . -mtime -5 | xargs ll -d
Works fine
find . -mtime -5 |while read $line
do
ll $line|cut -c45-128
done
Is alternative
Play with it
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2003 07:47 AM
тАО02-10-2003 07:47 AM
Re: Find command
Hi,
Is better to use the -type f option ( Regular Files ):
find . -type f -mtime -5 -exec ls -l {} \;
Regards,
Ricardo Bassoi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2003 07:51 AM
тАО02-10-2003 07:51 AM
Re: Find command
find . -mtime -5 -exec ll {} \;
isnt working
try
find . -print -mtime -5 -exec ll {} \;
otherwise you have very good advice from everyone else above
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2003 01:08 PM
тАО02-10-2003 01:08 PM
Re: Find command
how about ll -ld `find . -mtime -5 -print` ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2003 04:21 AM
тАО02-11-2003 04:21 AM
Re: Find command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2005 02:10 AM
тАО01-05-2005 02:10 AM