Maybe there is a tool that does that? Maybe I'm doing this all wrong and there is a different way I should browse?

you are viewing a single comment's thread
view the rest of the comments
[–] 113 points 1 day ago (25 children)

You mean something like this?
ls /your/long/path/name
cd !$

  • source
  • hideshow 25 child comments
  • [–] 105 points 1 day ago* (19 children)

    To add,

    !$ gets replaced with the last word from the previous command line

    !! Repeats the most recent command

    !-N Repeats the Nth previous command

    !string Repeats the most recent command that began with 'string'

  • source
  • parent
  • hideshow 19 child comments
  • [–] 25 points 1 day ago (5 children)

    If !$ isn’t pronounced “ba-ching!” I’m quitting Linux

  • source
  • parent
  • hideshow 5 child comments
  • [–] 10 points 1 day ago (4 children)

    Better than "bang-ching" which sounds racist to me. lol

  • source
  • parent
  • hideshow 4 child comments
  • [–] 3 points 12 hours ago* (2 children)

    the (ng) is silent when used in compound punctuation in ba(ng)

  • source
  • parent
  • hideshow 2 child comments
  • [–] 47 points 1 day ago (3 children)

    I just learned more about Linux than I did from my whole IT degree.

  • source
  • parent
  • hideshow 3 child comments