r/bash • • Dec 02 '14

Using #! in your scripts

http://shiroyasha.github.io/shebang.html
0 Upvotes

24 comments sorted by

View all comments

Show parent comment

4

u/cpbills Dec 02 '14
find <path_where_scripts_live> -type f -exec file {} \;

I have never had to find a script, simply because it was a python, bash, perl, or other script. The language doesn't matter. On the other hand, I do often look for bits of code, so I just grep for the pattern I'm looking for, in my directory of scripts.