ex

英[eks] 美[ɛks,eks]

n.<口>Ex-wife or ex-husband, former boyfriend or girlfriend

prep.Excludes, except...

Linux ex command syntax

Function: The ex command is used to start the vim text editor in Ex mode.

Syntax: ex [options][parameters]

Linux ex command example

After entering the file name after the ex command and pressing the Enter key, you can enter the ex editing mode. For example, to edit the testfile file, the command format used is as follows:

ex testfile

The output information is as follows:

"testfile" 5L, 95C