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

12

u/kamranakazi Aug 31 '25

My go-to is: sudo apt update -y && sudo apt upgrade -y

6

u/LastOfLateBrakers Aug 31 '25

That came later, the ability to use '&&' to get multiple commands in a single line. Happiness after the first '-y' I still remember.

4

u/neoreeps Aug 31 '25

&& sudo apt autoremove -y

2

u/Stefv8n Sep 02 '25

Why not add “sudo apt autoclean” accordingly :)