120
Abid
6y

Do it the hard way

Comments
  • 8
    Use ctrl + r
  • 10
  • 1
    Nitpicking: That can only happen in the Linux console, but that guy has a shirt for the Windows console.
  • 0
    @Fabian You can do it in cmd, but the history doesn't persist if you close it. Though in the Linux terminal I just do

    cat ~/.bash_history | grep [something I recall using in the command]

    Though there's probably a more efficient way to do it.
  • 0
    Or you can just use fish shell
  • 0
    @GreatGrogrodor I usually just use `history` and scroll, then hit up a bunch of times because f*ck using the mouse to select text.
  • 0
    @Fabian I didn't know about that one :o
  • 0
    Thats fucking true 😂😂
  • 1
    Zsh autocompletion is great. But I also do the cat ~/.bash_history | grep trick for really old commands.
  • 1
    @iamavalos It's so much easier!
    .........↑
    ...→.....
    ....←↓.
    And no, it doesn't get better in Dvorak.

    (DevRant ruined the formatting and the preceding spaces, but believe me, it doesn't look much better with the proper formatting.)
  • 1
    zsh ftw
Add Comment