DEV Community

Scott Watermasysk
Scott Watermasysk

Posted on • Originally published at scottw.com on

TIL: Curly Bracket Substitution

You can use curly brackets for quick substitution in a shell command.

Curly Backet Example

Instead of manually typing the path out twice (or even tab completing it), you can list the parts to be swapped within curly brackets ({}).

Top comments (0)