Date: Fri, 21 Dec 2007 20:14:13 +0300 From: Michael Lednev <liettneff@bk.ru> To: jhall@vandaliamo.net Cc: freebsd-questions@freebsd.org Subject: Re: Redirecting STDOUT Message-ID: <863400045.20071221201413@bk.ru> In-Reply-To: <49254.65.117.48.155.1198256367.squirrel@admintool.trueband.net> References: <51935.12.170.206.13.1198248568.squirrel@admintool.trueband.net> <1044977630.20071221175247@bk.ru> <49254.65.117.48.155.1198256367.squirrel@admintool.trueband.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, jhall. On 21 ??????? 2007 ?., 19:59:27 you wrote: >> Hello, jhall. >> >> On 21 ??????? 2007 ?., 17:49:28 you wrote: >> >> jvn> tar -cvzf root.tgz /root > /dev/null 2>/home/jay/tarlog >> >> jvn> I'm sure it is something simple I am doing wrong, but I am not seeing >> it. >> >> what is your shell? >> >> -- >> Best regards, >> Michael mailto:liettneff@bk.ru >> >> jvn> /bin/sh In that case you only redirecting STDERR to file. As you've been already told STDOUT will be redirected with $ command 1>file or $ command > file adding 2>&1 will also redirect STDERR to this file -- Best regards, Michael mailto:liettneff@bk.ru
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?863400045.20071221201413>