Quantcast
Channel: User HoldOffHunger - Stack Overflow
Viewing all articles
Browse latest Browse all 55

Answer by HoldOffHunger for Omit "Is a directory" results while using find command in Unix

$
0
0

Exclude directory warnings in grep with the --exclude-dir option:

grep --exclude-dir=* 'search-term' *

Just look at the grep --help page:

--exclude-dir=PATTERN directories that match PATTERN will be skipped.


Viewing all articles
Browse latest Browse all 55

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>