[problem help] 怎么修改crontab -e打开选项 Resolved
Tofloor
poster avatar
waittingsummer
deepin
2024-01-05 15:30
Author

【1-4】的选项 不小心选到了1,nano,平常用的少,连退出都不会

怎么把 crontab -e改成用vim或者vi打开呀?

截图_选择区域_20240105153326.png

sudo select-editor改不动

... 重新打开会话就好了

Reply Favorite View the author
All Replies
Ziggy
deepin
2024-01-05 15:38
#1

select-editor改的是用户配置,sudo当然是改的root用户的配置

用普通user执行就行了

Reply View the author
deepin-superuser
deepin
2024-01-05 15:48
#2

其实很简单 sudo apt purge nano

Reply View the author
观摩
deepin
2024-01-05 17:40
#3
deepin-superuser

其实很简单 sudo apt purge nano

彻底 😄

Reply View the author