linux bash: sqlplus: command not found 错误处理

在oracle用户下 ,执行sqlplus命令,抛出如上错误。

 

解决办法:

 

1.su oracle

 

2.cd /home/oracle

 

3. 执行命令 source .bash_profile

 

这样就可以了。

时间: 2024-07-31 08:13:39

linux bash: sqlplus: command not found 错误处理的相关文章

解决 linux -bash: telnet: command not found

输入命令telnet提示  linux -bash: telnet: command not found 解决方法: yum list telnet*   查看telnet相关的安装包 yum install telnet-server 安装telnet服务 yum install telnet.* 安装telnet客户端 然后运行telnet正常了

Linux Bash Scripting - Command Chaining & Command lists

# this is to show you how to execute a series of commands in one strike. $ clear; cd /; ls -l; echo "You are in $PWD"; echo "Time to go back home"; cd ~; # use semi colon between each command. # There is also command lists, which is fo

bash: service: command not found 错误的解决方法

转载:http://blog.sina.com.cn/s/blog_4a4f69910100i493.html 今天碰到一个问题,问题如下:在启动named服务时,出现下面错误提示: bash: service: command not found 于是我到网上去一搜了一下, 发现提问的人蛮多的,但真正回答的却很少,或就是胡编乱造的,回答的多说是PATH有问题,但有什么问题呢?他们也没说清楚. 我觉得原因是这样的,service命令是要用ROOT用户来执行的,而出错的用户是用su root切换到

LINUX -bash java command not found

Linux系统是由于设置JAVA环境变量时设置PATH属性导致command not found错误,PATH属性设置如下: vi /etc/profile JAVA_HOME=/usr/java/jdk1.6.0_32 根据自己的安装路径修改PATH=$PATH:$JAVA_HOME/bin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11R6/bin CLASSPATH=.:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.ja

Linux bash: scp: command not found的问题记录

1,scp报错 [[email protected] soft]# scpjdk-7u55-linux-x64.tar.gz 192.168.121.246:/soft/ [email protected]'s password: bash: scp: command not found lost connection [[email protected] soft]# 2,调试-v [[email protected] soft]# scp -vjdk-7u55-linux-x64.tar.g

linux -bash: ipconfig: command not found 解决方法

问题: ipconfig: command not found [[email protected] root]# ipconfig -bash: ipconfig: command not found 方法: 1.安装好CentOS5.5后,ipconfig找不到那说明没有将ipconfig命令配置到环境变量. 2.测试下结果echo $PATH,果然/sbin这个主要目录不在PATH. [[email protected] network-scripts]# echo $PATH /usr/

linux bash XXX command not found

1.最小化安装了centos, 但是使用ifconfig命令时候出现"bash ifconfig command not found" .解决方法:yum install net-tools.x86_64" . 原文地址:https://www.cnblogs.com/EikiXu/p/9411338.html

-bash: wget: command not found

错误描述:centos换源时通常会用到wget命令,而且很可能会出错 [[email protected]2 ~]# wget http://mirrors.163.com/.help/CentOS6-Base-163.repo -bash: wget: command not found 错误解决 安装wget yum -y install wget 然后在执行就可以了

3、Ora_Q3_bash: sqlplus: command not found 解决方法

bash: sqlplus: command not found 解决方法 环境变量已经配好,但是仍报错: # vi  .bash_profile # .bash_profile # Get the aliasesand functions if [ -f ~/.bashrc ];then . ~/.bashrc fi # User specificenvironment and startup programs PATH=$PATH:$HOME/bin #AddORACLE_SID ,ORAC