zoukankan      html  css  js  c++  java
  • Linux下,改过/etc/profile文件导致ls vi等命令不能使用解决方法

    配置jdk环境变量时,修改了/etc/profile执行后,发现ls等命令不可用了,也不能重新编辑vi了,执行如下命令即可再次重新编辑/etc/profile,修改正确即可正常使用

    export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bi

  • 相关阅读:
    isequal 和startswith 使用
    UVa10340
    UVa1368
    UVa455
    UVa1225
    UVa1586
    UVa 1585
    UVa10082
    UVa272
    NYOJ1
  • 原文地址:https://www.cnblogs.com/John-2011/p/14727692.html
Copyright © 2011-2022 走看看