News for hackers. Stuff that matters.
Re:The Fuck – Correct your previous console command by seanp2k2 on Saturday April 18, 2015 @01:13AM (#9398385)
I use $_ all the time, since it's the last argument to the previous command [after expansion]. Example would be:

atom path/to/so[tab]/fi[tab] [return] git diff $_

Complete reference: https://www.gnu.org/software/bash/manual/html_node/Variable-...

See also: http://wiki.bash-hackers.org/syntax/shellvars

There are no comments on this comment yet.