zoukankan      html  css  js  c++  java
  • Change & Set the Default crontab Editor

    Change & Set the Default crontab Editor

        Change & Set the Default crontab Editor

        Mar 7, 2011 - 8 Comments

             
            

        default-crontab-editor

        Most hardcore command line users and unix geeks love vi, but I prefer nano. If you want to change your default crontab editor to nano, here’s how to do this:

        For a one time edit, launch the terminal and type:

        EDITOR=nano crontab -e

        If you want to set nano as your default editor in general, you use this command:

        export EDITOR=nano

        Now when you go to edit crontab, nano will be the default editor than vi. You can test this by typing:

        crontab -e

        Looking beyond Mac OS X, this should work in Linux as well.

  • 相关阅读:
    SQL_50题
    Java多线程之冰山一角
    概览
    Selector
    集群配置
    redis config
    分布式、集群
    redis相关技术总结
    redis scan扫描
    redis 单线程 多路io复用
  • 原文地址:https://www.cnblogs.com/lexus/p/2466342.html
Copyright © 2011-2022 走看看