I am a linux noob migrated from windows anout a month ago and am lovng my fedora 5 set up.
Any ways i look after a few linux servers some of which are gaming servers i decided to have a go at writing a script to start and stop servers which works fine, a menu for ip port max players etc then it starts the server (very pleased with my self

)
i then decided to try and take it a step further when i log in via ssh i want excute myscript straight away with out navagting to each server i have a menu options ask me which server i would like to manage then i need it to cd to dir of my chioce but i can not seem to figure out how to make cd command work.
Code:
if [ $choice ==0 ] ; then CANT FIGURE OUT /home/cssource
elif [ $choice ==1] ; then cd /home/server01
etc
etc
Thanks for any help.