出现问题的原因是export后的内容存在空格,只需将空格删除即可
[[email protected] soft]# su - oracle
Last login: Sat Oct  6 10:45:08 CST 2018 on pts/0
-bash: export: ` ': not a valid identifier
-bash: export: ` ': not a valid identifier
-bash: export: ` ': not a valid identifier

这个时候进入Oracle用户

配置Oracle环境变量时 -bash: export: ` ': not a valid identifier

查看设置的环境变量并未生效

配置Oracle环境变量时 -bash: export: ` ': not a valid identifier

只需将上图空格删除,执行source /home/oracle/.bash_profile即可生效
--------------------- 
 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-15
  • 2021-12-26
  • 2022-12-23
  • 2021-12-02
  • 2021-05-20
  • 2022-01-18
  • 2022-12-23
相关资源
相似解决方案