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

Which command is used to copy files?

0 Answers  


Explain how to use grep command to list find the records of a file containing 10 different strings?

0 Answers  


What is the output of : $ ps-e $ ps-a commands

5 Answers   IBM,


What is {} in find command?

0 Answers  


What does pipe () return?

0 Answers  






what is the cmd to remove the comment lines from a file and to display the original text without comments? thanks in advance......

5 Answers  


How to copy multiple files and directories into some other directory?

4 Answers  


what is the difference between "cron" command and "at" command?

5 Answers  


what is the command to list all files in a directory, including the hidden files in UNIX ?

9 Answers   CTS,


What is awk used for?

0 Answers  


distinguish between paging and swapping?

1 Answers   Infosys,


How to rename files and folders?

7 Answers   IBM, Oracle,


Categories