Reverse search (ctrl r)
When someone showed me this it was a game changer and sped up things no end - no more endlessly going through this history line by line to find an old command you want to use again and hadn't copied to a scratch notepad!
Technically, that's more a function of the shell you've chosen to use than a true Linuxism. Which is to say, you'll find that functionality on any OS that has a recent-enough version of BASH (possibly other interactive shells, too). ;)
You might be interested in the Fish shell :) It has history-based autosuggestions out of the box, which show up in greyed-out text, so you can type the first few letters of the command and tap right arrow to accept it, ctrl-right to accept only the next word, or space and then one of its arguments at the beginning and then up arrow to search for previous commands with that argument. (I wrote a review of the Fish shell.)
Log in to continue
We're a place where coders share, stay up-to-date and grow their careers.
Reverse search (ctrl r)
When someone showed me this it was a game changer and sped up things no end - no more endlessly going through this history line by line to find an old command you want to use again and hadn't copied to a scratch notepad!
I use fzf (a command line fuzzy finder) in addition to ctrl+r. Now I can easily search through my history.
See: github.com/junegunn/fzf
I love this
Technically, that's more a function of the shell you've chosen to use than a true Linuxism. Which is to say, you'll find that functionality on any OS that has a recent-enough version of BASH (possibly other interactive shells, too). ;)
Well as a linux beginner at the time, I was glad I gave it a BASH :D
You might be interested in the Fish shell :) It has history-based autosuggestions out of the box, which show up in greyed-out text, so you can type the first few letters of the command and tap right arrow to accept it, ctrl-right to accept only the next word, or space and then one of its arguments at the beginning and then up arrow to search for previous commands with that argument. (I wrote a review of the Fish shell.)