slartibartfast wrote: > Running sh /home/tc/myscript.sh 1 gives the same response. > I really don't know much about pCP, why do I need to add "sh" before the > path to the script?
This is not about pcp - this is Linux and shell scripts. The name of the file containing the shell script is *myscript.sh* It is usual to use the file name extension ".sh" to denote a shell script in the same way a Perl file has ".pl" The shell script must also be executable (i.e. x in permissions, to add use chmod +x myscript.sh ) ------------------------------------------------------------------------ bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=112760 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix