天天看點

-bash: reboot: command not found

今天在編譯安裝GmSSL的時候,手賤修改了/etc/profile檔案,然後就悲劇了

-bash: reboot: command not found

隻有cd指令可以用用。。。

還不能關機。。。

檢視了一下被我修改的Path的值:

-bash: reboot: command not found

腦子抽了。。。

還好在網上搜到了關于PATH的值,用EXPORT指令臨時設定了一下:

-bash: reboot: command not found

修改/etc/profile 檔案,source一下

-bash: reboot: command not found

檢視PATH

-bash: reboot: command not found

OK了

有些檔案還是不要瞎改的。。。

繼續閱讀