How we will execute previous command in vi editor?

Answer Posted / annhaq

:! (This command on vi editor will run the script which ur
into presently)

:!%(Executes the previous command)

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the steps that a shell follows while processing a command.

767


What are the general commands in using unix os for a beginner?

681


Is grep faster than awk?

647


What is merge command in unix?

1016


why metadb requires a seperate slice to create Solaris volume manager

2654






What is a command and examples?

677


How many unix commands are there?

711


What is command substitution?

735


What is command statement?

656


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

1068


What is awk used for?

700


How to find $ai_serual resolved path by using unix

1140


What does pipe () return?

677


What do know about tee command?

685


Describe the zip/unzip command using gzip.

709