Re: [SLE] diff command and saving results to a file




-------------- Original message ----------------------
From: Anders Johansson <andjoh@xxxxxxxxxx>
On Saturday 27 May 2006 17:20, lerninlinux@xxxxxxxxxxx wrote:
How do I pipe the results to the text file? Is that "|" the command?

You don't pipe to a file, you pipe to a command. To a file you "redirect"

To redirect the output to a file you use the > operator, for example

diff -u file1 file2 > outputfile

--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx




THANK YOU! All these commands, so little time, still learning the lingo.

--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx



Relevant Pages