permission denied message filtering

$ find / -name $FILE_NAME 2>/dev/null


- Reference

http://ohyecloudy.com/ddiary/2017/05/17/til-bash-exclude-all-permission-denied-messages-from-find/

find [경로] -name "파일명" | xargs grep "찾을 내용" 


- 예제

find . -name "*.c" | xargs grep functionA



출처: http://yangyag.tistory.com/80 [Hello Brother!]

+ Recent posts