Linux/Unix Power Tools 리눅스 커맨드 라인(linux command line) 명령어 사용법 여러 조건으로 파일을 찾는 Linux find 명령어 사용법 Current: find 명령어 사용시 permission denied 에러 출력하지 않기 find 명령어 사용시 permission denied 에러 출력하지 않기 일반 사용자로 find 명령어를 사용할 경우 권한이 없는 폴더(/proc) 때문에 권한없음 오류가 화면을 채워서 find 결과를 보기 힘들수 있습니다.이럴 때 표준 에러(stderr) 을 화면으로 출력하지 말고 null device 로 출력하도록 redirection 해주면 됩니다. find / -name \*.java -exec -print 2> /dev/null BASH 같이 보기표준 입력(STDIN), 표준 출력(STDOUT), 표준 에러(STDERR)란여러 조건으로 파일을 찾는 Linux find 명령어 사용법RefLinux / Unix Find Command Avoid Permission Denied Messages - nixCraft (cyberciti.biz) ×