查询数据库的SID Oracle用户登录 vi .bash_profile echo $ORACLE_SID
oracle@linux148:~> export ORACLE_SID=ora11g oracle@linux148:~> echo $ORACLE_SID ora11g