• Login
  • Register
  • Login Register
    Login
    Username:
    Password:
  • Home
  • Members
  • Team
  • Help
  • More
    • Link 1
    • Link 2
    • Link 3
User Links
  • Login
  • Register
  • Login Register
    Login
    Username:
    Password:

    Quick Links Home Members Team Help
    More Link 1 Link 2 Link 3



    Home Forum BNC/ZNC FileBin PasteBin WebIRC WebMail TorOnion
    SavePalestine SmileFlag SavePalestine SmileFlag SavePalestine SavePalestine PageHits:
    BSDForAll.Org | Forums BsdforALL (Public Forum) Guides How to use vi to edit crontab

    How to use vi to edit crontab
    wizard
    Offline

    <3
    Posts: 2,493
    Threads: 166
    Joined: Jan 2024
    Reputation: 31
    #1
    10-25-2024, 01:30 PM
    For Linux Web Hosting packages and Managed Dedicated Servers

    When the crontab -e command is used, the vi editor opens. This editor has a command mode and an insert mode.
    In command mode, you can enter commands, such as saving the file. Keystrokes in this mode do not appear as text on the screen, but are interpreted as commands.
    You can access the insert mode by entering an appropriate command. In most cases, this is the i (insert) or insert key. In this mode, the characters you enter are immediately inserted into the text editor. To enter the command mode, press the ESC key.

    dd
    Delete current line

    u
    Reverse last change

    x
    Delete character under the cursor

    j
    Merge lines

    o
    Insert a new line under the current one

    p
    Insert data from the memory buffer at the cursor position

    q
    Quit the editor without saving the text.

    wq
    Write the changes to the file and quit the editor

    i
    Switch to input mode, in order to add and edit text

    Quote:Taken from: https://www.ionos.com/help/hosting/cron-...e-with-vi/
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)



    • View a Printable Version
    • Subscribe to this thread

    BSDForAll

    Home · Members · Team · Help · Contact

    © Designed by D&D - Powered by MyBB

    https://bsdforall.org

    +44 7438910761

    support@bsdforall.org

    About the company BSDForALL provides the OpenBSD VPS's, please check there for more info at https://bsdforall.org/epay

    Linear Mode
    Threaded Mode