Hello,
I am new to scripting on Solaris. I need to create and run a shell script that will take some input and then perform the commands in the shell script, for example:
#./shellscript.sh input
contents of the script:
rcp -p input user@host1:input
rsh -l user host1 "chmod 755 input"
So its quite basic, but not sure how get input into the script, and not sure about the structure either.
Any help would be greatly appreciated!
Cheers!
I am new to scripting on Solaris. I need to create and run a shell script that will take some input and then perform the commands in the shell script, for example:
#./shellscript.sh input
contents of the script:
rcp -p input user@host1:input
rsh -l user host1 "chmod 755 input"
So its quite basic, but not sure how get input into the script, and not sure about the structure either.
Any help would be greatly appreciated!
Cheers!