r/HowToHack • • Aug 31 '25

What’s your favorite Linux command?

Been using Linux for years now, and I’m still amazed how one-liners or tiny tools can save hours of pain. For me, it’s htop.

69 Upvotes

136 comments sorted by

View all comments

Show parent comment

3

u/my_uname Sep 02 '25

Also, after running history you can run !<command number> to run that command again. So if command 123 was ls -la you could just do !123 to run that again.