4
I am using Fedora. When I issue:
-bash-3.2$ source na-profile.conf
I get:
: command not found
: command not found
: command not found
The na-profile.conf file looks like:
KEYTAB=server02 export KEYTAB;
ORACLE_HOME=/home/oracle/app/xxxx/11.2.0.1/yyyyy; export ORACLE_HOME;
TNS_ADMIN=$ORACLE_HOME/network/admin; export TNS_ADMIN;
PATH=$PATH:$ORACLE_HOME/bin
There are no extra lines or spaces in the file.
There is a missing ; on line 1 after server02. – Dennis Kerrisk – 2014-02-14T19:07:06.723
I put the semicolon in and I get the same result – badgerduke – 2014-02-14T19:12:07.093
"set -x" before the source command to see how bash expands the input. – Amos Shapira – 2014-02-14T23:11:59.663