原文:source /etc/profile报错-bash: id:command is not found

由于误操作导致 source etc profile 报错 bash: id:command is not found 此时,linux下很多命令到不能能用,包括vi ls 等... 可以使用 export PATH usr local sbin: usr local bin: sbin: bin: usr sbin: usr bin: root bin 重新启用这些命令 如果 etc profi ...

2016-08-31 11:40 0 2539 推荐指数:

查看详情

Linux执行source /etc/profile报错“:command not found

修改完 /etc/profile中的内容后,执行“立即生效”命令 “source /etc/profile报错: :command not foundcommand not foundcommand not found 解决方法: 执行如下命令(两种方式): 1. ...

Thu Oct 25 03:42:00 CST 2018 0 3840
-bash: .bash_profile: command not found

今天有一同事安装了ORACLE后,在切换账号时遇到错误提示“-bash: .bash_profile: command not found”。如下所示 [root@GLETestLinux ~]# su - oracle -bash: .bash_profile ...

Thu Jan 22 07:01:00 CST 2015 0 2439
-bash: bash_profile: command not found问题

这个问题一般就是.bash_profile 文件内容错误,里面内容没加注释之内的,vi .bash_profile打开文件检查一下,然后:wq!保存退出 我的错误就是红圈处没有注释造成的 ...

Thu Nov 12 19:27:00 CST 2020 0 531
报错:-bash: locate: command not found

-bash: locate: command not found 查看某些文件在哪些地方,需要用到 locate 命令 但是在安装 yum install locate 会报以下错误: -bash: locate: command not found 正确的安装命令: yum ...

Sun Jun 03 19:23:00 CST 2018 0 3437
报错bash: jps: command not found

运行xcall.sh jps时提示,报错bash: jps: command not found” 检查如下: 已经安装jdk,配置好jdk的环境变量,且本机执行jps命令没有问题! 解决办法: 1.切换root用户 su root ...

Tue Dec 10 01:35:00 CST 2019 0 706
git bash 报错bash: *: command not found

默认安装的git bash某些功能是没有的,比如zip,在git bash下执行zip和unzip命令时会报错命令找不到,但值得庆幸的是,我们可以安装我们需要的命令,以下以zip命令为例,步骤如下: 1.打开https://sourceforge.net/projects/gnuwin32 ...

Tue Apr 24 02:25:00 CST 2018 2 13738
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM