RSS
 

Linux find Cheatsheet

11 Jul

There’s a great article CLI Magic: Searching with find over at linux.com which has examples of using the command line’s “find” utility.

Examples include:

By size:
find /home -name "*.txt" -size 100k
find /home -name "*.txt" -size +100k
find /home -name "*.txt" -size -100k

By user:
find /home -name "*.txt" -size -100k -user paul
find /home -name "*.txt" -size -100k -not -user paul

By Permission:
find /home -perm -o=r
find /home -perm -o=rw
find /home -perm ugo=r,u=w

VN:F [1.9.4_1102]
Rating: 1.0/10 (1 vote cast)
VN:F [1.9.4_1102]
Rating: 0 (from 0 votes)
Linux find Cheatsheet, 1.0 out of 10 based on 1 rating
Retweet
 
Comments Off

Posted in Open Source

 

Comments are closed.