Soldato
- Joined
- 8 Mar 2006
- Posts
- 13,300
- Location
- Near Winchester
While I consider myself a GNU/Linux guru, I still learn new things all the time. This is a thread where I'd like you all to post a nifty command/technique you've picked up. Not how to get nVidia dual screen to work, but something small that you use often. There's only one rule; no more than one line of code per post.
I'll start us off:
mv supports embedded substitution, this can be useful when renaming a file:
The substitution is inside the curly braces, replace the bit before the comma (nothing) with the bit after the comma (".backup"). This also works with cp.
I'll start us off:
mv supports embedded substitution, this can be useful when renaming a file:
Code:
mv /any/old/file{,.backup}
Last edited: