Answers for "find old command terminal"

1

find old command terminal

history | grep "foo*"
Posted by: Guest on December-13-2020
1

histroy of commands

Highly recommended command to use in terminal for reviewing commands and
reuse some of them. Just execute in terminal:

history

Also recommended to use together with grep for filtering a specific used command

history | grep "foo*"
Posted by: Guest on October-14-2020
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

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language