global environment variables
I have a vendor-provided shell script that I'm executing in Korn shell. It simply sets some environment variables. The variables that are set do not remain persistent outside of the script. So I decided to do some testing by creating a simple script. The contents of df.sh are:
I change the permissions on the file so that it can be executed, then execute it. However, the following results in null output:
What am I missing? Any help would be greatly appreciated.