|
|
|
¸®´ª½ºÆÁ Go Unix Power Tools Online Book
Go Bash Guide
|
|
Read No. 195 article |
2003-11-07 23:46:00 |
|
|
|
|
NickName |
bennie [ȨÆäÀÌÁö] |
Subject |
ÇöÀç µð·ºÅ丮 ³»¿¡¼ ƯÁ¤ ¹®ÀÚ¿ÀÌ µé¾îÀÖ´Â ÆÄÀÏ Ã£±â |
|
|
°Ô½ÃÆÇ ¼Ò½º¿¡¼ º¯¼ö¸¦ ã°Å³ª ÇÔ¼ö¸¦ ãÀ» ¶§ »ç¿ëÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.
½©¿¡¼ ¾²·Á°í °£´ÜÇÏ°Ô ¸¸µé¾î ºÃ½À´Ï´Ù. ºñ´©³Ý ¼¹ö¿¡¼ »ç¿ë °¡´ÉÇÕ´Ï´Ù.
Ȩ µð·ºÅ丮 ¹Ø¿¡ bin µð·ºÅ丮 Çϳª ¸¸µé¾î¼ ½ÇÇà ÆÛ¹Ì¼Ç ÁÖ¸é ¹Ù·Î ¾µ ¼ö
ÀÖ½À´Ï´Ù.
#!/bin/bash
if [ $# -eq 0 ]; then
echo "usage: `basename $0` keyword"
exit 1
fi
for i in $(ls -a .); do
grep -F $1 $i &> /dev/null
if [ $? = 0 ]; then
echo "$i - keyword \"$1\" found"
fi
done
|
|
Page Loading [ 0.02 Sec ]
SQL Time [ 0 Sec ]
|
|
|