Hi Vikas,
For example you want to create script to start SAP. We keep the filename as SAPstart.sh
1) Login to linux server.
2) Open VI editor using the command vi SAPstart.sh
3) Copy paste the script which you have written in word
4) Save the file using
press ESC button
:wq!
5) give full permission to this file using chmod 777 SAPstart.sh
6) To execute and test use ./SAPstart.sh
7) Check the results
8) To modify the script again use step (2) and to save use step (4).
Hope this helps.
Regards,
Deepak Kori