How we will execute previous command in vi editor?

Answer Posted / sindhujah

in command prompt type !vi command this will execute the
previous vi command.
!is the symbol used to execute the previous command.

Is This Answer Correct ?    12 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between cat and more command?

633


What is the command to compare two files in unix?

628


how to sort the content of the file based on numeric values

1262


What do chgrp command do?

602


What is the use of sed command in unix?

607






What is the use of the tee command?

609


What do chown command do?

541


How do you repeat a command in terminal?

602


Give the command for finding the current date.

589


What is rmdir command?

561


Why is it called grep?

569


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

969


How do I search for a file in unix command?

557


What do chmod command do?

610


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

806