find old command terminal
history | grep "foo*"
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*"
ubuntu search for command used
> grep "the_search" ~/.bash_history
--Don't forget the -i flag if you need case insensitive search.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us