How we will execute previous command in vi editor?

Answers were Sorted based on User's Feedback



How we will execute previous command in vi editor?..

Answer / aparna

Use dot(.) operator to execute previous command in command
mode

Is This Answer Correct ?    8 Yes 0 No

How we will execute previous command in vi editor?..

Answer / kalyani

!vi editor

Is This Answer Correct ?    6 Yes 4 No

How we will execute previous command in vi editor?..

Answer / 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

More Unix Commands Interview Questions

What is the use of pipes?

4 Answers  


in a growing log file how will you see the 1st 99 lines?

7 Answers  


Which command should you use to find the remaining disk space in unix server?

0 Answers  


what is the meaning of this command rm -rf / what will it do ?

5 Answers   Altair,


How do I search a whole word in vim?

0 Answers  






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

0 Answers  


What is the comma to show the space allocation of files?

0 Answers  


What are the dos commands?

0 Answers  


A file has 1000 lines and i want to display only 1st line how to do it? pls ..tel me

7 Answers   CTS,


How do I search for a file in unix command?

0 Answers  


Can a process kill itself in UNIX/or in its various versions?

2 Answers  


what is the command to list files in a directory in UNIX?

8 Answers  


Categories