Help me in automating the recycling of UNIX server

Hello everyone...I am very new to UNIX hence needs your help in below.

i have written a script to change some configuration in property files and its working fine.but to reflect that change at the application i want to recycle WAS and ihs.i.e. run below start and stop commands at /usr/local/bin
./stop_was6 once it gets over ./start_was6 similarly ./stop_was6 followed by start_ihs

COuld you please help me in automating this.

---------- Post updated at 08:07 AM ---------- Previous update was at 07:42 AM ----------

I am working in unix environment and sorry as i am not getting option for changing the forum and my goal is write a shell script to recycle the server.as i already have other script for some task in shell and wants to append this shell script with the previous one.

Please post the output of:

uname -a

Linux svm0922pdv 2.6.18-274.17.1.e15 #1 SMP Wed Jan 4 22:45:44 ESt 2012 x86_64 x86_64 x86_64 GNU/Linux