The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #7 (permalink)  
Old 05-16-2008
trey85stang trey85stang is offline
Registered User
  
 

Join Date: May 2008
Posts: 70
Quote:
Originally Posted by penchal_boddu View Post
Hi,

Use this :

ls -ltr | grep "^d" | awk -F" " '{print $NF}'


Thanks
Penchal
awesome, Ill man awk now to learn what all it can do

Thanks for your help!