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 UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 05-06-2008
namishtiwari namishtiwari is offline
Registered User
 

Join Date: Aug 2007
Location: Bangalore
Posts: 285
Quote:
Originally Posted by niceboykunal123 View Post
Hi,

Is there any one-lier through which I will be able to reach to last directory excluding all files only directrory and sub-directoris should be displayed from the current path.

Thanks in advance
Code:
ls -lRF | grep \/$
Reply With Quote