DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Editing files

Running other programs from inside vi

The command :!cmd executes the program cmd, then returns to vi. For example, :!sh starts a new shell without exiting vi; when you quit the shell (by typing exit or <Ctrl>D), you return to vi.


Next topic: Sending text through a filter
Previous topic: Using keyboard shortcuts

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003