Yep, thats a good one. Another one, ALT + . inputs the last argument from your last command, pressing it multiple times cycles thorough your past arguments.
I was just about to ask how the hell anyone remembers or knows all these commands, thanks for the info! I am trying to learn Linux and get used to using the Terminal more often.
Let me teach you about reverse-i-search in bash…
https://linuxvox.com/blog/ctrl-r-linux/
Yep, thats a good one. Another one,
ALT + .inputs the last argument from your last command, pressing it multiple times cycles thorough your past arguments.Nice, 30 years and I didn’t know this one. I always use the
$!for the last argument.I’ve never heard of
$!but we use Macs at work.Alt+.doesn’t work so I’ve been using$_.⌥+.does the trick for me on MacOS.Just as a matter of interest, I just tried this and it simply printed ≤ on the console. I’m using
Terminaland Tahoe 26.2.I think for
Terminal.appyou have to enable “Use Option as Meta key”I’ll try to remember to check it out in the morning, thank you.
edit: This worked. This is amazing. Thank you so much.
Wow, that’s a new Unicode symbol
You might have fun perusing the Miscellaneous Technical block (I sure did).
Dentistry symbols???
I don’t even want to think about how much effort this has saved me.
Also ‘cd -’ and aliases… 😁
I was just about to ask how the hell anyone remembers or knows all these commands, thanks for the info! I am trying to learn Linux and get used to using the Terminal more often.
Yeesh, I just learned something new. Thanks!