Thanks for the help it works great!!! Kevin
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Anthony E. Greene Sent: Monday, July 08, 2002 11:48 AM To: [EMAIL PROTECTED] Subject: Re: print to a file -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 08-Jul-2002/10:56 -0400, Kevin Keithan <[EMAIL PROTECTED]> wrote: >Is there a universal switch to run at the end of a command. I want to >do this in more then just nmap. Many utilities send output to STDOUT, which can be redirected to a file using standard shell redirect methods. These two commands put the date and the list of files in the current directory into a text file: date > filelist.txt (creates/overwrites filelist.txt) ls -l >> filelist.txt (appends to filelist.txt) Tony - -- Anthony E. Greene <mailto:[EMAIL PROTECTED]> OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Chat: TonyG05 HomePage: <http://www.pobox.com/~agreene/> Linux: the choice of a GNU Generation. <http://www.linux.org/> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Anthony E. Greene 0x6C94239D <[EMAIL PROTECTED]> iD8DBQE9KbQTpCpg3WyUI50RAuSnAKCBb5/6ji6xKO56VjE9rVwmwJ/6RACfSoMV 1ZhMUSwV/aQrEqt9ZUgyqe8= =IL4m -----END PGP SIGNATURE----- _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list