vi

From Gentoo Wiki
Jump to:navigation Jump to:search
This article is a stub. You can help by expanding it.

vi is a text-based editor, used as the basis for newer editors such as Vim. Although not part of the GNU Coreutilities, it is found in most Linux installations by default.

Not to be confused with Vim, Vi Improved.

busybox vi

If vi or vim is not installed you can check, if busybox's vi is available:

user $busybox vi -h

BusyBox v1.34.1 (2021-11-23 09:49:04 CET) multi-call binary.

Usage: vi [-c CMD] [-R] [-H] [FILE]...

Edit FILE

       -c CMD  Initial command to run ($EXINIT also available)
       -R      Read-only
       -H      List available features