I have created 10 files using touch command on linux terminal in a directory having only these created files.
$ touch a1.c a2.c a3.c a4.c a5.c a6.c a7.c a8.c a9.c a10.c
I want to write a string “stackOverflow”(say) into all these files at a time .
How to do that?Is there any command or some other way ?
Platform -ubuntu 10.04
From the command prompt (Bash)