I wrote a shell script, which invokes another shell script, and reporting the error of: (Unable to access node /proc) and I cannot figure out why. I wish someone here can help me to find out how to get it working.
The cutdown version of the scripts are:
if [ $1 == 1 ]
cmdStr="./cmd2.sh pidin -P pterm mem"
cmdStr="./cmd2.sh sin -P pterm mem"
for p in $*
while [ x -lt $# ]
echo cmd is : $cmd
It appears that when I passed it with a ‘sin’ command, it is not happy; but works find for a ‘pidin’ command.
Any help is greatly appreciated.