`

ls command not found

 
阅读更多

在设置 java环境变量时,编辑profile文件没有写正确,导致在命令行下 ls等命令不能够识别。
在命令行下打入下面这段就可以了
export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

分享到:
评论

相关推荐

    Linux -bash: ls: command not found

    今天登录阿里云后不知道怎么回事,一直报:-bash: ls: command not found 原因: 环境变量PATH被修改了 解决办法: 执行命令: export PATH=/bin:/usr/bin:$PATH 上边的方法执行完成,解决了问题,当关掉当前的...

    虚拟机里输入ifconfig命令出现错误-bash: ifconfig: command not found

    3、确认是否安装ifconfig命令:在sbin目录中输入ls | grep ‘if’,没有则说明没有安装。 注:这里我已经安装了,如果没有安装则继续第4步。 4、安装net-tools,因为该包中包含ifconfig命令:sudo yum install ...

    /bin/sh: python: not found 问题的解决

    ls -l /usr/bin/python* 然后会出现: lrwxrwxrwx 1 root root 9 3月 16 09:09 /usr/bin/python3 -> python3.6 -rwxr-xr-x 1 root root 4526456 11月 7 18:44 /usr/bin/python3.6 -rwxr-xr-x 1 root root 4526456 ...

    解决linux 所有命令无法使用的问题

    今天小编就为大家分享一篇解决linux 所有命令无法使用的问题,具有很好的参考价值,希望对大家有所帮助。一起跟随小编过来看看吧

    java调用shell脚本执行sqlldr与存储过程

    1、sqlldr: command not found 2、sqlplus: command not found 3、0750: You may need to set ORACLE_HOME to your Oracle software directory 4、Message 2100 not found; No message file for product=RDBMS, ...

    bash-cache:[未维护] linux命令特定用法的注释

    bash缓存 bash-cache允许我们存储那些复杂的命令用法……奇妙的正则表达式或awk的大量复杂用法。... bash-cache -c ls -s "ls -al shows me more than normal" #saves annotation for ls ##显示注释

    8-07-14_MegaCLI for linux_windows

    SCGCQ00324525 Defect MegaCLI: MFI_STAT_NOT_FOUND returns when retrieving the FW event log. SCGCQ00325890 Defect CLI/Segmentation fault while running pdlist and cfgdsply in CentOS SCGCQ00326673 Defect ...

    generator-umi:文献资料

    发电机组 umi项目的Yeoman发电机。 该生成器不支持SSR 在此处阅读文档: : 安装 sudo npm install -g yo generator-umi 用法 创建新的umi应用 ... 通过docker image ls查找生成的图像 执照 麻省理工学院执照

    rkhunter-1.4.2.tar.gz

    显示OK字样表示正常,显示Warning表示有异常,需要引起注意,而显示“Not found”字样,一般无需理会 Checking system commands... Performing 'strings' command checks Checking 'strings' command [ OK ] ...

    ysh:类似于unixunix的系统的简单shell程序

    延世壳牌ysh 这是用于类Unix / unix系统的简单shell程序。 跑 $ gcc -Wall -Werror -o ysh ysh.c $ ./ysh 配套功能 一个命令$ date $ ls ... 无效的命令$ ext Command not found: ext 退出指令$ exit

    Centos7.6安装redis6.0.1

    Centos7.6安装redis6.0.1redis最新版下载地址安装redis报错1:/bin/sh: cc: command not found报错2:server.c:xxxx:xx: error: ‘xxxxxxxx’ has no member named ‘xxxxx’其他命令 redis最新版下载地址 github ...

    replenish:这是壳,还有一个副本

    Command not found 每个人都习惯了这一点,并且它确实有效。但是REPL通常是更强大的python: >>> d = "foo" >>> dirs = subprocess.check_output(["ls", d]).split('\n') ['bar', 'baz'] >>> for d in dirs: ... >>...

    (详细)解决Win10 Ubuntu18.04虚拟机下ifconfig无法安装,install net-tools不能用

    Win10 Ubuntu18.04 环境下ifconfig服务没有安装,出现类似 Commend ‘xxxxxx’ not found,but can be installed with…… 错误 ~$ ifconfig 一些解决方法(我通过方法四问题得以解决) 方法一: ~$ sudo apt ...

    2009 达内Unix学习笔记

    DOS内部命令 用于退出当前的命令处理器(COMMAND.COM) 恢复前一个命令处理器。 Ctrl+d 跟exit一样效果,表中止本次操作。 logout 当csh时可用来退出,其他shell不可用。 clear 清屏,清除(之前的内容并未删除,只是...

    Python3安装后再使用yum安装报错File “/usr/bin/yum”, line 30 except KeyboardInterrupt, e: ^ Syntax

    前情提示: centOS6.8; 刚装完最新的Python3.8.3,准备安装screen...-bash: screen: command not found [root@ebs-40617 backup]# yum -y install screen File "/usr/bin/yum", line 30 except KeyboardInterrupt,

    libforensic1394-0.2.tar.gz

    Instructions for loading the new stack can be found on the Linux IEEE 1394 FireWire wiki: https://ieee1394.wiki.kernel.org/index.php/Juju_Migration In addition the page also contains ...

    (重要)AIX command 使用总结.txt

    当再次尝试远程登录时, 系统报错:Remote logins are not allowed for this account, 表示修改成功 //如何自动logout用户 有的用户登录后就长时间空闲,有可能导致安全上的问题,通过打开 /etc/profile 中 TMOUT 注释,...

    linux 下 带shell功能ftp源代码

    sh: get: command not found Walle> 3 run client side local shells [usage] :! cmd [return]: return what the shell will return to stdout and stderr . [eg] : Walle>!ls /root a es OperaDownloads ...

    微软内部资料-SQL性能优化3

    Key range locks are similar to row locks on index keys (whether clustered or not). The locks are placed on individual keys rather than at the node level. The hash value consists of all the key ...

    linux 下 结合ftp 和部分telnet 功能的服务器源码

    sh: get: command not found Walle> 3 run client side local shells [usage] :! cmd [return]: return what the shell will return to stdout and stderr . [eg] : Walle>!ls /root a es ...

Global site tag (gtag.js) - Google Analytics