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

Re: shellscript



On Mon, Jul 22, 2002 at 10:07:32PM +0200, lasse wrote:
> Jag vill att outputen ska se up typ
> Uptime is now 2 days and system load is 00. 00. 00. And we got 4 Users

Följande ger just den outputen:

uptime|awk '{printf "Uptime is now is %s days and system load is \
%s %s %s. And we got %s Users\n", $3, $10, $11, $12, $6}'

-- 
  Karl Söderström
  ks@xanadunet.net	http://www.xanadunet.net
  ks@debian.org		http://www.debian.org


-- 
To UNSUBSCRIBE, email to debian-user-swedish-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: