포럼 회원으로 등록하신분만 다운로드가 가능합니다. 최대 업로드 가능한 용량은 20MB 입니다.

#!/bin/sh

if [ $# = 1 ]
then
        dir=.
else if [ $# = 2 ]
then
        dir=$2
else
        echo "USAGE: gref patten [path]"
        exit 1
fi
fi

find $dir -type f -exec grep -l "$1" {} ;
   -exec grep -n "$1" {} ;
   -exec echo " " ;

============

커널에서 스트링 서칭할때 많이 사용하는 녀석입니다.

gref  "찾고자하는 string"을 넣어주면 됩니다.

 
List of Articles
번호 제목 글쓴이 날짜 조회 수

dos2unix source & site file

일본어 mount option

find 명령어 활용법

grep을 이용한 검색 script ==> gref

uBuntu 8.10 에서의 리눅스 개발 환경 설정 [6]

wxDevcpp를 이용한 windows용 tutorial입니다. file

windows/linux에서 작업했던 tutorial입니다. file

wxWidget hello unix example file

devcpp howto입니다.(devcpp/wxWidget/SDL) file

wxWidget sample program 올리기 - windows/linux file

wxWidget mysql direct access file

wxWidget odbc file

강좌(공식문서포함) 문서의 양식 포맷입니다. file [4]

사용자 로그인