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

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

猜你喜欢

转载自blog.csdn.net/python222/article/details/89839731