[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tcpserver e redirezione bash...



On Fri, Jan 17, 2003 at 09:44:49PM +0100, Filippo Basso wrote:
> Salve,
> 	scusate la mia ignoranza in bash, ma questo non dovrebbe redirigere TUTTO 
> l'output, stderr e stdout, su un file ?!?
> 
> tcpserver 127.0.0.1 110 /home/tcp/test.sh &> /home/tcp/log
si e' giusto
> 
> eppure non lo fa, e neanche se metto 1>filename, neppure 2>filename ... :-(
> eppure l'output eccome che c'è, subito sotto la linea di comando!!!
esatto, tcpserver apre soltanto lo stderr, bash tenta di aprire anche lo stdout
e fallisce, quello e' l'unico che devi redirigere quindi:

tcpserver 127.0.0.1 110 /home/tcp/test.sh 2> /home/tcp/log

filippo.
--
Filippo Giunchedi
GNU/PG key id: 1024D/6B79D401
Random signature follows:

Me Against The World

Attachment: pgpgBF8kE8ysc.pgp
Description: PGP signature


Reply to: