HOWTO: Use Shell Wildcards Part II
I find this particular wildcard operation to be so cool that it needs its own entry. I’ve already written about the more common BASH wildcard tokens, but this next one uses the {brace} character to expand entire file names like so:
touch file_{one,two,three}
This command will create (or update the timestamp on them if they exist) the files file_one, file_two, and file_three in the current directory.
Cool, or what?
Related Stories
POSTED IN: How To
0 opinions for HOWTO: Use Shell Wildcards Part II
No one has left a comment yet. You know what this means, right? You could be first!
Have an opinion? Leave a comment: