사이트 내 전체검색
grepphp 서버에서 php 파일중 문자열 내용찾기
로빈아빠
https://cmd.kr/server/721 URL이 복사되었습니다.

본문

#vi /usr/sbin/grepphp 

 

#!/bin/bash

find . -name "*.php" | xargs grep -n "$1"

 

 

chmod 777 /usr/sbin/grepphp

 

 

 

grepphp test

댓글목록

등록된 댓글이 없습니다.

1,139 (1/23P)

Search

Copyright © Cmd 명령어 3.144.237.77