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.

You don't understand how the whole command line is handled by the shell.

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

Okay, I've been doing the UNIX thing since the mid 80s. YOU NEED TO LISTEN TO THE FOLKS WHO ARE ANSWERING YOUR QUESTION. Your solution will not work reliably.

So, listen to folks who have been there and done that or learn the hard way. It's your choice.

--
Until later, Geoffrey

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.
 - Benjamin Franklin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to