Re: Evolution script signature

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

 



On Fri, 2004-01-23 at 13:45, Mike Chambers wrote:
> How would you add in your machine uptime or a command to that?

#!/bin/sh

UPTIME=`uptime | sed 's/.*up.\(.*\), *[0-9]\+ user.*/\1/'`

cat << EOF
-- <br>
Mike Chambers<br>
Madisonville, KY<br>
Uptime: $UPTIME<br> 
"You think it's funny until someone gets hurt, then it's hilarious!"<br> 
EOF

-- 
-=[ B. Johannessen | bob@xxxxxx -=- http://db.org/ | +4797152009 ]=-
-=[ Mail & Spam - News, Drafts & Standards - http://db.org/blog/ ]=-
-=[ On the Origin Of Spam: Spam Statistics - http://db.org/spam/ ]=-




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux