ls -bash: ls: command not found
原因:在设置环境变量时,编辑profile文件没有写正确,导致在命令行下 ls等命令不能够识别。
解决方案:
export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

相关文章:

  • 2021-11-28
  • 2021-10-06
  • 2021-08-19
  • 2021-06-02
  • 2021-12-01
  • 2021-09-05
  • 2021-07-17
  • 2021-07-22
猜你喜欢
  • 2021-04-22
  • 2022-12-23
  • 2021-12-04
  • 2022-02-14
  • 2022-12-23
  • 2021-11-04
  • 2021-12-25
相关资源
相似解决方案