I am trying to run the shell script in the remote host , with this i also want to pass some arguments. my local host shell scripts is below
pwd
echo $0
echo $1
echo $2
echo thanku everyone!!
To run this script am using the command
ssh user@server 'ksh' < ./code
I want to pass arguments with this command. please clarify me in this..
Thanks in advance.