출처:http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/


환경: csh, tcsh

(X)

find .  -name SEARCH-ITEM 2 > /dev/null


(O)

(find .  -name SEARCH-ITEM  > /dev/tty) > & /dev/null




sh: sgrep

shell 2013.12.18 13:26
sgrepall() # find string in all files
{
find . -type f -print | xargs grep $1
# find . -type f -name "*.c" -print | xargs grep $1
# find . -type f -name "*.cp" -print | xargs grep $1
# find . -type f -name "*.h" -print | xargs grep $1
}

##### END


#### HP-UX tcsh (BEGIN)

alias sgrep 'find ./  -type f -exec grep \!* {} /dev/null \;'

#### HP-UX tcsh (END)




netstat -an|find "10001"

10001 번 포트를 찾을 때


find . -name "*.php" | xargs perl -pi -e 's/\<\?/\<\?php/g'


원 출처는 

http://windowx.tistory.com/entry/%EB%94%94%EB%A0%89%ED%86%A0%EB%A6%AC%EC%95%88%EC%9D%98-%EB%AA%A8%EB%93%A0-%ED%8C%8C%EC%9D%BC%EC%97%90%EC%84%9C-%ED%8A%B9%EC%A0%95-%EB%AC%B8%EC%9E%90%EC%97%B4-%EC%B9%98%ED%99%98-%EB%B3%80%ED%99%98-%ED%95%98%EA%B8%B0



., find, sed