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.
Wow, that’s a new Unicode symbol
You might have fun perusing the Miscellaneous Technical block (I sure did).
Dentistry symbols???
Sorry, I should have been more clear … When ssh’d into a remote Unix machine from a Mac, it doesn’t me. I don’t think I’ve tried locally.
Yeesh, I just learned something new. Thanks!
I don’t even want to think about how much effort this has saved me.
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.
You can also just grep through your
.bash_historyNeat
And in fish