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

What is the search command in unix?

607


Are you in or at the office?

611


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

683


Using unix command how to display no of records in oracle?

613


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

801






What is the command to find maximum memory taking process on the server?

674


What is the use of the tee command?

602


What does grep v do?

562


What's a command word?

591


Name the general commands in using unix os for a beginner?

625


Name the unix command to find how many days the server has been up.

608


What is the use of the command 'ls -x chapter[1-5]' ?

663


Which command is used to kill the last background job?

783


What is the function of grep command in unix?

593


Describe the zip/unzip command using gzip.

615