更改 Ubuntu 基礎預設值
Editor
sudo update-alternatives --config editor
或
select-editor
時區 – timezone
sudo dpkg-reconfigure tzdata
變更預設 Python
update-alternatives --install /usr/bin/python python /usr/bin/python3 1
sudo update-alternatives --config editor
或
select-editor
sudo dpkg-reconfigure tzdata
update-alternatives --install /usr/bin/python python /usr/bin/python3 1
請愛用 vim 因為 nano 很難用!
sudo update-alternatives --config editor
對,就是 vim 無誤!