Find all files in the current (.) directory and its subdirectories with log in their name:  
find . -name “*log*”
Find all the .pdf files in dir and subdirectories and run a command on each:  find . -name “*.pdf” exec xpdf {} ';'
Quick system-wide file search by pattern (caution: index based, misses new files):  locate “*pub*”


Esta resposta foi útil? 0 Utilizadores acharam útil (0 Votos)