Suppose there are 200 files in /tmp
e.g.: {abc1xyz,abc2xyz,abc3xyz..abc200xyz}
I want to write "hello" in the files from abc38xyz
to abc53xyz
Suppose there are 200 files in /tmp
e.g.: {abc1xyz,abc2xyz,abc3xyz..abc200xyz}
I want to write "hello" in the files from abc38xyz
to abc53xyz
Using bash
or ksh93
:
$ echo "hello" | tee /tmp/abc{38..53}xyz