14 Nov
2006
14 Nov
'06
16:12
On Tuesday 14 November 2006 16:53, TheOldWiseKing wrote:
Hi,
It sure works, and I tried it myself. the pipe operator | takes the output of the certain command and Input it to the other command.
When saying ls > file1.txt, this will create a list of folders inside the file1.txt cat file1.txt will list the contents of file1.txt and take the output to file2.txt
It might work and it might not, but either way it is an improper use of the pipe. When you want to say "first run command1 then command 2" you should use command1 && command2 Anders --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org