The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 10-17-2007
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
  
 

Join Date: Mar 2005
Location: leaf node in B+ tree
Posts: 2,957
Quote:
Originally Posted by arunkumar_mca View Post
Thanks thomas ..

But i want to list the files only which has read permision

Thanks,
Arun
Code:
ls -l | awk '{ if( substr($0, 2, 1) == "r" ) { print } }'