DP> Basically, what I need to do is
DP> write a script to determine the number of users logged on a server and print
Where print to?
DP> it within a message to the screen.
to screen:
w -h | wc -l

to paper:
w -h | wc -l | lpr

DP> I also need to have the UNIX date utility run automatically once every hour
DP> every day and have it sent to my email using the Cron utility.
in crontab:
0 * * * * date | mail [EMAIL PROTECTED]

DP> Is there any resource or person who can help me with this.  I Need to do
DP> this ASAP 
First, RTFM
Second, read any good UNIX book, look at www.amazon.com for them
(appropriate links may be found at www.linux.org).









DP> _______________________________________________________
DP> Get 100% FREE Internet Access powered by Excite
DP> Visit http://freelane.excite.com/freeisp

DP> -
DP> To unsubscribe from this list: send the line "unsubscribe linux-net" in
DP> the body of a message to [EMAIL PROTECTED]



--
Alexandr S. Agranovsky
[EMAIL PROTECTED]
����� ��� ��, ������� �� �������... (�������: �����, ��� ��...)


-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to