News for hackers. Stuff that matters.
Re:How to navigate directories faster with Bash (2015) by johncoltrane on Thursday April 22, 2021 @06:01AM (#26900855)
Re:How to navigate directories faster with Bash (2015) by tome on Thursday April 22, 2021 @07:47AM (#26901651)
Looks like !$ is a readline feature and $_ is a shell variable?
Re:How to navigate directories faster with Bash (2015) by yrro on Thursday April 22, 2021 @09:09AM (#26902323)
Re:How to navigate directories faster with Bash (2015) by mturmon on Thursday April 22, 2021 @12:03PM (#26904309)
I don't think !$ is properly understood as a readline feature. It's a sh/bash abbreviation.

!! -> last whole command

!!:1 -> first argument of last command

!!:$ -> last argument of last command

!$ -> abbreviation for above