B / Y / U / S
HOME À¥ È£½ºÆà µµ¸ÞÀÎ ¸Å´º¾ó °í°´Áö¿ø ¼³Á¤Á¤º¸ °èÁ¤½Åû 2024-12-23 Monday 
À¥ È£½ºÆÃ
# °øÁö »çÇ×
# ÀÚÁÖ ¹¯´Â Áú¹®
# Áú¹®°ú ´äº¯
# °¡ÀÔ ¹®ÀÇ
Ä¿¹Â´ÏƼ
# ÀÚÀ¯°Ô½ÃÆÇ
# ¸®´ª½ºÆÁ
# ¾ÆÀÌÅ¥ Å×½ºÆ®
# ³»È¨ ¼Ò°³
# °Ö·¯¸®
# ÀÚ·á½Ç

  ¸®´ª½ºÆÁ  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
Regist Addr [ 211.196.251.231 ] ¸ñ·Ïº¸±â À­±Û ¾Æ·§±Û
Á¤±ÔÇ¥Çö½Ä [ »ó¼¼ °Ë»ö ]
Page Loading [ 0.02 Sec ] SQL Time [ 0 Sec ]

Copyleft 1999-2024 by JSBoard Open Project
Theme Designed by IDOO And follow GPL2

°³ÀÎÁ¤º¸ Ãë±Þ¹æħ ÀÌ¿ë ¾à°ü »çÀÌÆ® ¸Ê ¾îµå¹Î °ü¸®