This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # List of cheatsheet for linux find. | |
| # Syntax | |
| find <path> <conditions> <actions> | |
| # basic 'find file' commands | |
| # -------------------------- | |
| find / -name foo.txt -type f -print # full command | |
| find / -name foo.txt -type f # -print isn't necessary | |
| find / -name foo.txt # don't have to specify "type==file" |