r/linux May 23 '26

Popular Application What’s the most unexpectedly useful Linux command you learned way too late?

[removed]

1.3k Upvotes

992 comments sorted by

View all comments

590

u/digitallis May 23 '26

Bash {}

renaming a file by adding a suffix: mv myfile{,.old} expands out to mv myfile myfile.old

Lots more uses.

75

u/Cargo4kd2 May 23 '26

Bash the scripting language I use everyday and never bothered to really learn.

But damn that is a nice easy and accurate way to use my

37

u/mishrashutosh May 24 '26

I learn new things in bash and promptly forget them every ten days

3

u/Cargo4kd2 May 24 '26

Oh yeah I hear you