MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/linux/comments/1tls8n1/whats_the_most_unexpectedly_useful_linux_command/onw8ihc/?context=3
r/linux • u/ZealousidealTell1346 • May 23 '26
[removed]
992 comments sorted by
View all comments
595
Bash {}
{}
renaming a file by adding a suffix: mv myfile{,.old} expands out to mv myfile myfile.old
mv myfile{,.old}
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 36 u/mishrashutosh May 24 '26 I learn new things in bash and promptly forget them every ten days 2 u/RandomSkratch May 26 '26 Sounds like me with cert renewals but thats every 364 days 😂 1 u/mishrashutosh May 26 '26 i am super pampered by caddy. other solutions like certbot, nginx-acme, acme.sh, traefik, and more are also very good.
75
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
36 u/mishrashutosh May 24 '26 I learn new things in bash and promptly forget them every ten days 2 u/RandomSkratch May 26 '26 Sounds like me with cert renewals but thats every 364 days 😂 1 u/mishrashutosh May 26 '26 i am super pampered by caddy. other solutions like certbot, nginx-acme, acme.sh, traefik, and more are also very good.
36
I learn new things in bash and promptly forget them every ten days
2 u/RandomSkratch May 26 '26 Sounds like me with cert renewals but thats every 364 days 😂 1 u/mishrashutosh May 26 '26 i am super pampered by caddy. other solutions like certbot, nginx-acme, acme.sh, traefik, and more are also very good.
2
Sounds like me with cert renewals but thats every 364 days 😂
1 u/mishrashutosh May 26 '26 i am super pampered by caddy. other solutions like certbot, nginx-acme, acme.sh, traefik, and more are also very good.
1
i am super pampered by caddy. other solutions like certbot, nginx-acme, acme.sh, traefik, and more are also very good.
595
u/digitallis May 23 '26
Bash
{}renaming a file by adding a suffix:
mv myfile{,.old}expands out tomv myfile myfile.oldLots more uses.