nano,pico文本编辑器,debian执行crontab -e

debian执行crontab -e的时候出现:

 Edit this file to introduce tasks to be run by cron.
#
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
#
# To define the time you can provide concrete values for
# minute (m), hour (h), day of month (dom), month (mon),
# and day of week (dow) or use '*' in these fields (for 'any').#
# Notice that tasks will be started based on the cron's system
# daemon's notion of time and timezones.
#
# Output of the crontab jobs (including errors) is sent through
# email to the user the crontab file belongs to (unless redirected).
#
# For example, you can run a backup of all your user accounts
# at 5 a.m every week with:
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
#
[ 已读取22 行 ]
^G 求助 ^O 写入 ^R 读档 ^Y 上页 ^K 剪切文字 ^C 游标位置
^X 离开 ^J 对齐 ^W 搜索 ^V 下页 ^U 还原剪切 ^T 拼写检查
=================================================================

^就是Ctrl

=========================


brcm@debian:~$ pico xx
brcm@debian:~$ nano uu


$ crontab -e
no crontab for username - using an empty one

Select an editor. To change later, run 'select-editor'.
1. /bin/nano <---- easiest
2. /usr/bin/vim.tiny

Choose 1-2 [1]:




原文地址:https://www.cnblogs.com/taosim/p/3266307.html