Simple shell script

OOzy Pal oozypal at gmail.com
Sun Oct 7 11:48:14 UTC 2007


Dears,

I have the following script to start webmin and it sync'ed between my
laptop and desktop. How can I make the script detected if it is
running in the laptop or desktop. For example

Original Script
sudo /etc/webmin/start
firefox -new-tab http://laptop:10000/

Modified Script
sudo /etc/webmin/start
firefox -new-tab http://{HOST}:10000/

not sure

-- 
OOzy
Ubuntu-Feisty




More information about the ubuntu-users mailing list