find in terminal code example
Example 1: terminal how to find a file name
find / -name NAME.EXTENSION
Example 2: ubuntu search for command used
> grep "the_search" ~/.bash_history
--Don't forget the -i flag if you need case insensitive search.
Example 3: open finder from terminal
open . (dot for current directory)
Example 4: find in terminal
find / -name abc.dmg
Example 5: search in terminal how to
brew tap gautamkrishnar/socli
brew install socli