Re: pipe output into a file

2002-04-24 Thread Ashwin Khandare
Title: Message I think you should use the following nmap -    >> /tmp/output 2>&1 This would throw the o/p along with any errors to the file /tmp/output.     - Original Message - From: Kevin Keithan To: RedHat ListServ Sent: Wednesday, April 24, 2002 12:14

RE: pipe output into a file

2002-04-23 Thread Bret Hughes
On Tue, 2002-04-23 at 13:57, Jeff Graves wrote: > How do you pipe the output of dump to a file? The convetional > /sbin/dump -0u -f /dev/st0 / > /var/log/dump.log doesn't work, output > still shows up on the screen. > Are you getting anything in /var/log/dump? The command > outputfile syntax w

Re: pipe output into a file

2002-04-23 Thread rpjday
On Tue, 23 Apr 2002, Kevin Keithan wrote: > I am using nmap and I am getting an output way to large. Is there a way > to pipe the output into a file? repeat after me: "i redirect output to a file; i pipe output to a program." :-) $ program > outputfile $ program1 | program2 rday

Re: pipe output into a file

2002-04-23 Thread Matthew Boeckman
TECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Matthew Boeckman > Sent: Tuesday, April 23, 2002 2:49 PM > To: [EMAIL PROTECTED] > Subject: Re: pipe output into a file > > > try > nmap hostname > file.name > or to append to an existing file > nmap hostname >

RE: pipe output into a file

2002-04-23 Thread Jeff Graves
966.5170 - Fax [EMAIL PROTECTED] - Email -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Matthew Boeckman Sent: Tuesday, April 23, 2002 2:49 PM To: [EMAIL PROTECTED] Subject: Re: pipe output into a file try nmap hostname > file.name or to append to an ex

Re: pipe output into a file

2002-04-23 Thread Matthew Boeckman
try nmap hostname > file.name or to append to an existing file nmap hostname >> file.name this is a universal unix construct to redirect output ">" always takes stdout to whatever file you tell it, and ">>" always appends Kevin Keithan wrote: > I am using nmap and I am getting an output way