grepphp 서버에서 php 파일중 문자열 내용찾기

페이지 정보

profile_image
작성자 로빈아빠
댓글 0건 조회 3,591회 작성일 15-04-05 00:59

본문

#vi /usr/sbin/grepphp 

 

#!/bin/bash

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

 

 

chmod 777 /usr/sbin/grepphp

 

 

 

grepphp test

댓글목록

등록된 댓글이 없습니다.