Into to shell programmin in unix

PALLAVI BARDAPURKAR's Avatar, Join Date: Nov 2010
Newbie Member
My problem is that how to save the shell script in vi editor and then how to run it in ksh
sreek's Avatar, Join Date: Nov 2010
Go4Expert Member
after typing the script in vi editor use
:wq for saving the file (in command mode)
then make the file executable

chmod +x filename

execute using ksh

ksh filename
Happy scripting