recdirect to file and screen !!

From: Mailing List (admlist@yahoo.com)
Date: Wed Jun 19 2002 - 10:27:33 EDT


HI,

I am running a script which uses ufsdump and vxdump
and should store the a output file as well display on
the screen.

----- start here ---

#!/bin/ksh
ufsdump 0f /dev/rmt/0cbn /xyz 2>/tmp/etc.out

---- end ----

the above will send the output to /tmp/etc.out file
only but will not display the output on screen.

what change i need to make so the script output goes
to a file as well as display on the screen, so if any
input required by user can be given.

Thanks
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:29 EDT