search ubuntu 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: ubuntu terminal search command
Ctrl + R <command_part>
# e.g CTRL + R mv
# will search for recent usage of 'mv' commmand
# Keep pressing CTRL + R to move back to your histroy
# or CTRL + S to move forward
Example 4: search file in ubuntu
$ find /path/to/file/ -iname filename
Example 5: search file in ubuntu
$ find /path/to/file/