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 -->
  #2 (permalink)  
Old 03-19-2009
pludi's Avatar
pludi pludi is online now Forum Staff  
Moderator
  
 

Join Date: Dec 2008
Location: .at
Posts: 1,958
It displays only those files/directories that have the group/other write bit set.

sed -n means silent operation (don't print anything by default). The regex reads as "From the beginning of the line (^) match any character (.) 5 to 8 times ({5,8}). If somewhere between position 6 and 9 there is a literal 'w' print this line (set command 'p')"