Guest User

Untitled

a guest
Dec 14th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #/bin/sh
  2. CNT=$#
  3. if [ $CNT = 1 ] ; then
  4. echo "find . -type f -print | xargs grep \"$1\""
  5. find . -type f -print | xargs grep $1
  6. else
  7. echo "[Usage] : find_str.sh {search_value}"
  8. fi
Add Comment
Please, Sign In to add comment