> One way is to use the tee command, e.g.:
> 
> [johnnyb@zappa johnnyb]$ ls | tee listing.txt
> 
> will send the results of the ls command to STDOUT and also to the file 
> listing.txt.


# man script




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to