|
http://www.hackerschool.org/HS_Boards/zboard.php?AllArticle=true&no=4309 [복사]
root/a.txt
a.txt 라는 파일에 cat > a.txt로
hello world
라고 입력하고 저장한후
cd 입력후
root ~ 위치에서
find ~ -name "a.txt" -exec grep 'hello'{}\;
이렇게 입력하면
a.txt라는 파일에서 hello 라는 글자를 찾으라는 명령어가아닌가요?
계속 오류나네요..........
지금현재 쳐본 명령어가
find ~ -name "a.txt" -exec grep 'hello'{}\;
find ~ -name "a.txt" -exec grep 'hello'{} \;
find ~ -name "a.txt"-exec grep 'hello'{}\;
find / -name "a.txt" -exec grep 'hello'{}\;
find ~ -name 'a.txt' -exec grep "hello"{}\;
find ~ -name "a.txt" -exec grep "hello"{}\;
부탁드려요~ |
Hit : 5669 Date : 2013/07/01 08:31
|