UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 7th, 2005, 11:49 AM
groundlevel groundlevel is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 200 groundlevel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 50 sec
Reputation Power: 6
How to sort by time

Hi--

I now have

find -x / -ls

which gets all the results I need. But I still need to sort the results.

I can do

find -x / -ls | sort

but after that, I have no idea what options to use for sort.

Anyone?

All My Best,
Jeffrey

Reply With Quote
  #2  
Old November 14th, 2005, 03:54 PM
NPRao NPRao is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Pacific NW, USA
Posts: 26 NPRao User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 23 m 16 sec
Reputation Power: 0
Send a message via AIM to NPRao
Try this example -

$ find . -name "*.sql" -type f -exec ll {}\; > temp1
$ tr -s ' ' " " <temp1 > temp2
$ sort -n +7 +6 +8 temp2

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > How to sort by time


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT