Akiraka Akiraka
  • 首页
  • Linux
    • ELK
    • PHP
    • Shell
    • Nginx
    • Docker
      • Docker Compose
    • Centos
    • Ubuntu
    • Jenkins
  • Python
  • Mac OS
  • Windows
  • 大数据
    • Hadoop
    • CDH
    • Hive
    • Spark
    • ZooKeeper
  • 微服务
    • Kubernetes
    • Helm
  • Other
  • Quark
  • 首页
  • Linux
    • ELK
    • PHP
    • Shell
    • Nginx
    • Docker
      • Docker Compose
    • Centos
    • Ubuntu
    • Jenkins
  • Python
  • Mac OS
  • Windows
  • 大数据
    • Hadoop
    • CDH
    • Hive
    • Spark
    • ZooKeeper
  • 微服务
    • Kubernetes
    • Helm
  • Other
  • Quark
首页 › Linux › Centos › Crontab 修改默认编辑器

Crontab 修改默认编辑器

Akiraka4周前

设置 Crontab 默认编辑器

  • 有时候一不小心搞错了用了 nano 编辑器有点用不了
  • 修改crontab默认编辑器为vi或者其他的编辑器
  • 可以用命令select-editor修改
# 选择 2 或者 3 就可以 vim了
root@aka:~$ select-editor
Select an editor.  To change later, run 'select-editor'.
  1. /bin/nano        <---- easiest
  2. /usr/bin/vim.basic
  3. /usr/bin/vim.tiny
  4. /bin/ed
Choose 1-4 [1]: 2
1
分享
Akiraka 站长
文章 124评论 10
相关文章
  • Centos 7 MySQL 5.7 编译安装
  • Cenos 6.x yum 源过期替换问题 尝试其他镜像
  • Centos/Ubuntu Linux 系统 根目录扩容方法
  • 搭建 Redis 主从搭建配置
  • 搭建 NTP 服务器与客户端同步
评论 (6)
再想想
  • 1

    555

    4周前
  • 11zof120

    555

    4周前
  • -1); waitfor delay '0:0:15' --

    555

    4周前
  • 1

    1ETx3whX

    4周前
  • 1

    593bLnL3′; waitfor delay ‘0:0:15’ —

    4周前
Akiraka
站长
本人擅长 Ai、Au、Fl、Ae、Pr、Ps 等软件的安装与卸载,精通 CSS、JavaScript、PHP、Python、Shell、Go 等单词的拼写,熟悉 Windows、Linux、Mac、Android、IOS 等系统的开关机!
124文章
10评论
50获赞
想找什么搜一下
文章聚合
Kubernetes(k8s)kubectl 命令补全
1年前
本地文件拷贝到 HDFS
4月前
搭建 Redis 主从搭建配置
5月前
Docker Nginx反向代理支持websocket
1年前
kubernetes Node 宕机 Pod 驱离
4月前
微信小程序
微信小程序
标签云
brew cdh centos cmd docker docker compose elasticsearch elk filebase filebeat gitlab grafana hadoop helm hive hue jdk jenkins k8s kibana kubernetes liniux linux logstash mac mikrotik mydumper mysql nfs nginx openssl oss php pip pyspark python RabbitMQ redis rocketmq shell Spark ubuntu windows ZooKeeper 容器编排
Copyright © 2019-2021 Akiraka. Designed by nicetheme. 沪18036911号