Linux에서 같은 파일을 찾는 방법

다음은.config 파일과 *config*인 모든 파일을 찾아서 비교하여 동일한 파일을 찾는다.

find -iname '*config*' -print -exec diff -s -q .config {} \\; | grep 'identical'
Tuesday, August 18th, 2009 at 15:01
No comments yet.

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>