bash: ls: command not found的解决办法

在pycharm的terminal中输入ls,提示bash: ls: command not found,无法使用Linux命令
是因为环境变量PATH被修改了
只需在命令行执行

export PATH=/bin:/usr/bin:$PATH

posted @ 2020-06-08 10:24  我是小金人  阅读(3659)  评论(0编辑  收藏  举报