[ILUG] Running command after login.

Aherne Peter-pahern02 peter.aherne at motorola.com
Thu Sep 27 12:09:11 IST 2001


Actually what I need is

if (`userchoice` == "server1") 

rsh hostname	command1 #Then god damn stay in the host
else 

rsh hostname	command2 #Then god damn stay in the host
fi

Peter.

--
Peter Aherne, Software Engineer, Motorola Ireland Ltd.
http://www.skynet.ie/~peter - peter at linux.ie
Ph: +353 21 4511234 Mobile: +353 87 2246834






More information about the ILUG mailing list