Ever want to run some shell commands while doing a vi edit
session? Like, "what's the name of that file" I want to use in
this script I'm making?
Instead of exiting vi; doing the ls filenamepart*, and going
back into vi, you can from a vi session:
enter ":", then enter "shell".
This suspends the vi session and gives you a command prompt
where you can use any shell command. When finished, enter the
"exit" command and you will be returned to the vi session.
This tip generously supported by: cwhenske@gatx.com NOTE: All tips provided are USE AT YOUR OWN RISK. Tips are submitted
by various unix admins around the globe. UGU suggest you read and
test each tip in a non-volitile environment before placing into
production.