|
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 : 5412 Date : 2013/07/01 08:31
|