vi

Description

The vi command starts the visual mode of ex, the landmark editing program developed by William Joy in the late 1970s.
As ex gained popularity, Joy noticed that most users were exclusively using its visual mode,
so to make things more convenient for his users, he added a link to ex which started it in visual mode automatically.
Today vi is the most popular text editor among Linux users.

vi /etc/hosts
Update file with vi
sudo vi /etc/cron.daily/mlocate Open file for update as administrator
i Press i to change to INSERT mode
ESC, Shift :, wq Exit with saving/td>
timedatectl set-timezone Africa/Johannesburg

nano

nano myFile.txt