Link to home
Start Free TrialLog in
Avatar of walkerdba
walkerdba

asked on

identifier

How come this is not a valid identifier

[oracle@term2 db_1]$ export $ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
bash: export: `/u01/app/oracle/product/11.2.0/db_1=/u01/app/oracle/product/11.2.0/db_1': not a valid identifier
[oracle@term2 db_1]$ export $ORACLE_HOME=u01/app/oracle/product/11.2.0/db_1
bash: export: `/u01/app/oracle/product/11.2.0/db_1=u01/app/oracle/product/11.2.0/db_1': not a valid identifier
[oracle@term2 db_1]$
Avatar of Alex [***Alex140181***]
Alex [***Alex140181***]
Flag of Germany image

Have you tried to unset $ORACLE_HOME before?!
Avatar of walkerdba
walkerdba

ASKER

no I did not do any thing
Then try to unset this env variable before setting.
ASKER CERTIFIED SOLUTION
Avatar of simon3270
simon3270
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
OMG.... My bad :-( Just didn't see the "$". So, simon3270's solution does the trick...
fine
I think you've accepted the wrong solution (unsetting will have no effect - removing the "$" is the correct fix)
I totally agree with simon3270, but I have no clue whether it's possible to "move credit points" to another expert?!?
Ah, I think I was supposed to "Request Attention" - I'll do that now (I seem to remember that's how the OP would do it).