How to use Linux Bash history commands - If Bash is tedious its because you have not learnt an extra command or two

Bash has a rich history. That is, it's an old shell with an even older ancestor (the Bourne shell), but it also has a great history command that surpasses all other shell history interfaces based on its number of features. The Bash version of history allows for reverse searches, quick recall, rewriting history, and more.

I'm guilty of this too.... pressing my up arrow button 50 times to find a command I used yesterday because I'm too lazy to learn an extra command or two sometimes. I'm trying to get into the habit of adding one extra trick to my arsenal at a time, even if it means adding it to the paper covering my webcam.

See How to use Bash history commands

#technology #Linux

Image/photo

Bash has a rich history. That is, it's an old shell with an even older ancestor (the Bourne shell), but it also has a great history command that surpasses all other shell history interfaces based on its number of features. The Bash version of history allows for reverse searches, quick recall, rewriting history, and more.



source https://gadgeteer.co.za/how-use-linux-bash-history-commands-if-bash-tedious-its-because-you-have-not-learnt-extra-command

Comments