Trương Duy
New member
How do I open a crontab file in vi?
Answer
To use Cron, you must establish an SSH connection to your project. Then, enter the crontab -e command to open the crontab file. Note: The crontab file is located in the /var/spool/cron directory. The vi editor will open by default when calling crontab -e.
Photo in the article by “Flickr”
Type “sudo mkdir /home/user/newFolder” in the terminal.
The “mkdir” command creates a new folder in the location you specify after the command.
Replace “/home/user/newFolder” with the location where you want to create the folder.
Answer
To use Cron, you must establish an SSH connection to your project. Then, enter the crontab -e command to open the crontab file. Note: The crontab file is located in the /var/spool/cron directory. The vi editor will open by default when calling crontab -e.
Photo in the article by “Flickr”
Code:
https://www.flickr.com/photos/xmodulo/16175298266
The “mkdir” command creates a new folder in the location you specify after the command.
Replace “/home/user/newFolder” with the location where you want to create the folder.