Join Nostr
2026-11-29 20:05:45 UTC

Ethan Black :foundation:‌:starting_dvd: :mightyt2: on Nostr: #Bash command-line tip: Alt+'.' enters the last argument of your previous command. ...

#Bash command-line tip: Alt+'.' enters the last argument of your previous command.

Very useful. Example: you just ran file super\ long\ filename to view file information, and then seeing it's a text file, now want to view it so you run less super\ long\ filename. For the second command, you can just type "less ", then press Alt+'.' to insert the last arg of the previous command: "super\ long\ filename".

Also works in #ElvishShell !

#GNUBash #BashShell