> -----Original Message-----
> From: winglion
> Sent: Thursday, March 27, 2003 4:56 AM
> Subject: how to redirect the output of command 'xinetd -d'
> 
> 
>   While I use xinetd -d to test my vsftpd seting!
> There are a few error tell me that"bind address fail
> (address already in use)" !
>   So I would like to redirect the output of this 
> command, to show you the error message! Yet,neither
> "xinetd -d >debug.txt" nor xinetd -d &>debug.txt" work!
>    How can I redirect this command's output?
> Any advice would be appliciate!   
> 
> 

try redirecting both stdout and stderr (file descriptor 2). i.e.

xinetd -d >/tmp/debug.txt 2>&1

Steve Cowles



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

Reply via email to