I would like to issue a command available in my current shell (where I am running my bash script from). As it is right now if I put the uecap command in my bash script as it is. The script fails with reason uecap command not found.
Although if I issue the uecap command directly from my current shell it works fine.
My current shell is on a separate process with it is own process id.
here is my bash shell as an example:
 #!/bin/sh
 while read i
 do 
 cid=`echo "$i"  | cut -b1`
 rid=`echo "$i"  | cut -b9-18`
 rm -rf $1_TEMP
 uecap -r rid -c cid
 done < $1ID.log
The way I run the bash script is by issuing this command:
!./bashscript $node.
On the same not, is there a way to run a command using another process from your bash script?
 
    