14 Nov
2006
14 Nov
'06
09:23
S A I found a good solution, here is the command: ls > file1.txt | cat file1.txt > file2.txt This will make two similar files containing the list of the current directory. Regards,... TheOldWiseKing ??? wrote:
Hello. I already learnt that:
$ ls > result.txt will redirect the output of ls(1) to result.txt
Now what if I wish to have the output of ls (1) redirect to two files a the same time?
$ ls > result1.txt > result2.txt
Above command only redirect the result to result2.txt
Thanks.
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org