EnderUNIX tipsMail to My Friend , Home Page
[ Shell Scripting ]
"SHELL OUTPUT INTO VI" - Ülkü SAYILAN - (2003-12-10 13:40:29) 
SHELL OUTPUT INTO VI
In VI editor you can get the output of any shell
command command inserted into the file you are
editing by using:
inserts the ouput of the command "who -r" to the
file currently being edited.
This can be effectively used to copy the contents of a file to the file currently being edited
inserts all the contents of the the /etc/passwd to the file currently being edited.
Mail to My Friend , Home Page