Re: [ILUG] Re: Need help with Perl script

From: Aidan Keady (aidan at domain parthus.com)
Date: Tue 02 May 2000 - 10:46:28 IST


> I need to have the number of users printed out within my perl script.
>
> I know the UNIX command is w -h | wc -l
>
> But how do I get it to print out like the sample below?
>
>
> There are 7 users logged on the system.

echo "There are `w -h | wc -l` users logged on the system"

ATB,
Aidan.



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:05:59 GMT