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

How to set sticky bit, or it have any seperate directory to create sticky bit in sunfir servers. Please help me , i don't no the exact answer?

4 Answers   HCL, Wipro,


Differentiate cat command from more command.

0 Answers  


What will the following command do?

0 Answers  


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

4 Answers   Infosys, Nikhil Construction,


what is the difference between commmands cmp and diff?

9 Answers   iNautix,






What is awk command used for?

0 Answers  


How to setup Disk space as well as memory in solaris10?

4 Answers  


What are the dos commands?

0 Answers  


If we want to see first 35 lines of a file which command we have to use?

8 Answers  


what is the significance of "su" command?

3 Answers  


How to remove a crontab file?

2 Answers  


what is the command to get help on a UNIX terminal?

5 Answers  


Categories