I wrote the following script on my SUSE Linux system, bur it does not apply?
#A script for adding a directory to the PATH environment veriable.
echo "What directory do you want to add to the PATH?"
echo "Adding the" $MYNEWPATH "directory to the PATH..."
When I execute the above figure, the following happens:
linux-bhpq:~ # addpath
What directory do you want to add to the PATH?
Adding the /var/opt/mydb directory to the PATH...
linux-bhpq:~ # echo $PATH
Does my script has mistakes?