find (stuff quickly)
- Syntax: find path expression
- Searches recursively through all subfolders
$ find /path/ name ”file.txt”
$ find . type f \( iname "*.sh" or \ iname "*.pl" \)
- -iname for case insensitive search
- -type f finds only files and -type d only folders
- Example: find files ending with either 'sh' or 'pl':
- Use a \ to continue a long line
0 comments:
Post a Comment