On Sunday 20 January 2008 17:01:41 David C. Rankin wrote:
Listmates,
After finding some interesting information in the .bashrc tips at http://www.novell.com/coolsolutions/tools/17142.html, I adapted the welcome screen idea to capture useful system information on login. I have to admit, the colors made it pretty cool. (I'm easily amused tonight) [...]
Thanks for sharing this David. I gave it a try on my system at home but it threw a syntax error on the following line...
echo -ne "${lightblue}Uptime for:${green} $HOSTNAME ${lightblue}is ${cyan}";uptime | awk /'up/ {print $3,$4,$5,$6,$7,$8,$9,$10}' }
Not being familiar with awk, I played around a bit but ended up just deleting everything from the pipe onwards. Very useful script though. Thanks again. Regards, -- =================================================== Rodney Baker VK5ZTV rodney.baker@optusnet.com.au =================================================== -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org