Email or username:

Password:

Forgot your password?
Top-level
Michael

@b0rk Yes, they really are. It took me about 10 years of Linux CLI usage to finally learn that there's a better alternative to tapping the "up" key a 100 times to find a previous command.

3 comments
Linus Lagerhjelm

@mmeier @b0rk opened this post to also learn this after about the same amount of time. But I guess I’ll have to stay ignorant 🥺

Michael

@linuslagerhjelm
Sorry, I really should have shared. 😔

The trick is CTRL+R. That will bring up a prefix-string search interface for your history. So no more 100 taps on the up button to find that "cp" command you could have sworn was at most 5 commands ago. 😁

For even more QoL, look at tools like HSTR, which allow you to do fuzzy searches over your command history.

@b0rk

Go Up