Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 1998 20:18:57 -0700 (PDT)
From:      Thomas Dean <tomdean@ix.netcom.com>
To:        elmore@sohopros.com
Cc:        questions@FreeBSD.ORG
Subject:   Re: /etc/crontab
Message-ID:  <199807140318.UAA00873@ix.netcom.com>
In-Reply-To: <XFMail.980713181249.elmore@sohopros.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At the head to /etc/crontab,
SHELL=/bin/sh

This means that shell commands are sh commands.  2>&1 directs stderr
output to stdin.  Remember, there are 3 standard devices, stdin,
stdout, stderr, corresponding to 0, 1, and, 2.   See 'man sh'.

There is a good chapter in The UNIX Programming Environment, Kernighan
and Pike, Prentice-Hall, on standard i/o programming.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807140318.UAA00873>