Tuesday, August 21, 2012

How can you execute the shell script currently editing within the VI editor?

You can execute the script from within the vi editor by using
:!%
where '%' refers to the file that you are currently editing.

No comments :