try "man dump" :-)

according to the man page, -f filename:
      -f file
              Write the backup to file; file may be a special device 
file like
              /dev/st0 (a tape drive), /dev/rsd1c (a floppy disk drive), 
an or­
              dinary file, or `-' (the standard output).  Multiple file 
names
              may be given as a single argument separated by commas. 
Each file
              will be used for one dump volume in the order listed; if 
the dump
              requires more volumes than the number of names given, the last
              file name will used for all remaining volumes after 
prompting for
              media changes.  If the name of the file is of the form
              ``host:file'' or ``user@host:file'' dump writes to the 
named file
              on the remote host using rmt(8).  The default path name of the
              remote rmt(8) program is /etc/rmt; this can be overridden 
by the
              environment variable RMT.



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.
> 
> Jeff Graves
> Customer Support Engineer
> Image Source, Inc.
> 10 Mill Street
> Bellingham, MA 02019
> 
> 508.966.5200 X31 - Phone
> 508.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 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 to large. Is there a
>>
> way
> 
>>to pipe the output into a file?
>>
>>
>>
>>Thanks,
>>
>>
>>
>>Kevin
>>
>>
> 
> 
> --
> Matthew Boeckman                      (816) 777-2160
> Manager - Systems Integration         Saepio Technologies
> ==
>                                               ==
> ...Many say that DOS is the dark side, but actually UNIX is more like
> the dark side: It's less likely to find the one way to destroy your
> incredibly powerful machine, and more likely to make upper management
> choke.
>                       -Lore Sjoberg
> 
> 
> 
> _______________________________________________
> 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
> 
> 
> 


-- 
Matthew Boeckman                        (816) 777-2160
Manager - Systems Integration           Saepio Technologies
== 
                                                ==
...Many say that DOS is the dark side, but actually UNIX is more like 
the dark side: It's less likely to find the one way to destroy your 
incredibly powerful machine, and more likely to make upper management choke.
                        -Lore Sjoberg



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to