How can I write the same content to many text files by using cat or echo in only one command? For example I want to write "hello" to file1 and file2. I tried: echo "hello" >> file1 file2 ...
For some commands, it is possible to specify certain input as either stdin or a command line argument. Specifically, suppose command can take stdin input and a filename as command line argument, and ...
Possible Duplicate: Should I care about unnecessary cats? Both would be functionally equivalent, but when using cat wouldn't it be slower because you have a process first reading the file ...