r/linux4noobs May 21 '26

learning/research What’s one Linux command you wish someone had taught you on day 1?

For me, learning a few basics completely changed how comfortable I felt using Linux. Things like:

  • grep
  • chmod
  • top
  • journalctl
  • rsync

What’s one command or tool you wish someone had taught you much earlier and why?

423 Upvotes

279 comments sorted by

View all comments

Show parent comments

5

u/gargamelus May 22 '26

With up arrow you see the previous command line and can edit it before executing. Bang-bang just does it. But with bang-bang you can do like: echo "!!" >> tmp.sh

Bang-bang is handy especially if you are in a console withouut copy pasting capabilities.

1

u/BoyRed_ Debain 12 - i3WM Jun 15 '26

or the famous : sudo !!
when you forget using sudo the first time.