線上書籍

Home

Centos

yum install nano

pico /etc/skel/.bash_profile

加入兩行

EDITOR=nano
export EDITOR

按 Ctrl+X 存檔

各使用者目錄下的 .bash_profile 也一併修改