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

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005