Answers for "ubuntu terminal search command"

1

ubuntu search for command used

> grep "the_search" ~/.bash_history

--Don't forget the -i flag if you need case insensitive search.
Posted by: Guest on September-08-2020
0

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
Posted by: Guest on February-11-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language