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
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/
https://bsdforall.org/epay/ <- Rent your server and support us!
https://wiki.ircnow.org/index.php?n=Minutemin.Bootcamp <- Sysadmin training
My website: https://monsieur.bsdforall.org
My e-mail: monsieur@bsdforall.org
All the best \(^^)/
https://wiki.ircnow.org/index.php?n=Minutemin.Bootcamp <- Sysadmin training
My website: https://monsieur.bsdforall.org
My e-mail: monsieur@bsdforall.org
All the best \(^^)/