2010年01月01日
ubuntuでcrontabのエディターを変更する方法
誤って設定してしまったり別のものを使いたくなって変更する方法
$ sudo update-alternatives --config editor
を実行すると
There are 4 choices for the alternative editor (providing /usr/bin/editor).Selection Path Priority Status
------------------------------------------------------------
* 0 /bin/nano 40 auto mode
1 /bin/ed -100 manual mode
2 /bin/nano 40 manual mode
3 /usr/bin/vim.basic 30 manual mode
4 /usr/bin/vim.tiny 10 manual modePress enter to keep the current choice[*], or type selection number:
で該当する番号を選択する。
カテゴリ:Linux覚え書き| パーマリンク |TOPページへ ▲画面上へ
トラックバック
このエントリーのトラックバックURL:
http://kusumoto-jp.org/mt-tb.cgi/93