ls | tee test.txt > test1.txt On Tue, 2006-11-14 at 10:23 +0200, TheOldWiseKing wrote:
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
Message Disclaimer: This electronic message may contain confidential information. If you have received it in error, please immediately inform the sender and delete the mail and any attachments. Unless it relates to the official business of UMN, any opinions, views and other information expressed in this document are those of the individual sender. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org