Linux-03-經常使用命令

1、新安裝的linux 給root設定一個密碼默認root用戶是無固定密碼的,而且是被鎖定的,若是想給root設置一個密碼只需執行命令: sudo passwd root 切換root用戶,只需執行命令: su root 2、常見命令 解決ifconfig 不能用,只需執行命令: sudo apt install net-tools 更新源,只需執行命令: sudo apt-get update
相關文章
相關標籤/搜索