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 ls -l command & what is the information it gives about user ?

5 Answers  


solaris Run level?

3 Answers   Wipro,


How we will execute previous command in vi editor?

8 Answers   Infosys,


What is the use of pipes?

4 Answers  


Write a command that will output the sorted contents of a file named in.txt and place the output in another file named out.txt, while at the same time excluding duplicate entries.

1 Answers  






What is the command to compare two files in unix?

0 Answers  


which command is used to stop a running process in unix?

8 Answers  


How to replace the exact word in vi editor?? suppose a file contains words like amaze,amazed,amazement in some of the line.But i want to replace only 'amaze' with delight but don't wanna replace amazed or amazement. thanks

6 Answers   Polaris, Tech Mahindra,


what is the command to find out which shell you are running?

14 Answers  


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

7 Answers  


why unix commands can be divided into internal and external commands?

3 Answers   Informatica,


distinguish between multi-tasking,multi-user,multi- processing and time sharing?

4 Answers   Infosys, Nikhil Construction,


Categories