Linux: Vi Command

An essential function for any computer system is file editing. In Linux Vi (or Vim being the enhanced version) is the standard command line text editor.

vim
vim
vim
vim

If missing from your distribution or container, install with:

dnf -y install vim
apt -y install vim
apk add vim
pacman -Syu vim