just to expand on how cool curly bracket file naming is: touch file{one,2,3}.txt
does the same thing. You can use just a comma for nothing e,g. touch {fileone.txt,file2.txt,file3.txt,file.txt}
same as: touch file{one,2,3,}.txt
the last comma gives you the file name "file.txt"
-. (period) does the same and you can fetch any param from the previous cmd via -# (digit, starting at zero for the command itself) to copy and -y to yank it to the cursor.
just to expand on how cool curly bracket file naming is:
touch file{one,2,3}.txt
does the same thing. You can use just a comma for nothing e,g.
touch {fileone.txt,file2.txt,file3.txt,file.txt}
same as:
touch file{one,2,3,}.txt
the last comma gives you the file name "file.txt"