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

Command line help



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

problem is, the above command creates two lines, one with the date, the
second with the number of messages in the queue.  I'd like for the same
information to be present, however on line line.

Is there a way to do this ?

TIA,
Mike




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