
Ex is a text editor developed for Unix systems in 1977 as a modified version of em, which was an improved version of the original Unix text editor ed.[1][2] Like ed, ex is a line editor, meaning commands can only be executed on one line at a time. Ex was eventually modified into a screen editor and became vi. Modern versions of ex are rarely distributed on their own, but are rather line editor modes of vi text editors.[3]