[102107] in RedHat Linux List
Re: Command line help
daemon@ATHENA.MIT.EDU (John H Darrah)
Tue Dec 1 12:34:20 1998
Date: Tue, 1 Dec 1998 09:33:56 -0800 (PST)
From: John H Darrah <jhd@giddens.com>
To: "'redhat-list@redhat.com'" <redhat-list@redhat.com>
In-Reply-To: <D1DC9C040E12D1118B680060081459491F9594@CAJUN-EXC>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
On Tue, 1 Dec 1998, Mike A. Lewis, CNE wrote:
>
> I'm trying to setup a cron job to keep tabs on the mailq on one of my
> machines. What I'm wanting is something along the lines of:
>
> #date ; mailq | head -1 >> /filename
>
Change it to the following:
(date ; mailq | head -1) >> /filename
Note the "()" parenthesis.
--
John Darrah (u05192) | Dept: N/C Programming
Giddens Industries | Ph: (425) 353-0405 #229
PO box 3190 | Ph: (206) 767-4212 #229
Everett WA 98203 | Fx: (206) 764-9639
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.