溫馨提示×

ubuntu環境變量如何恢復

小新
630
2021-02-05 09:49:40
欄目: 智能運維

ubuntu環境變量如何恢復

恢復ubuntu環境變量的示例:

在終端輸入ls命令后,顯示如下結果:

root@wei:/etc# ls

Command 'ls' is available in '/bin/ls'

The command could not be located because '/bin' is not included in the PATH environment variable.

ls: command not found

解決方法:

直接在終端輸入以下命令即可。

export PATH=/usr/bin:/bin

0
亚洲午夜精品一区二区_中文无码日韩欧免_久久香蕉精品视频_欧美主播一区二区三区美女