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 / manikantan t s

using '.'

Is This Answer Correct ?    15 Yes 3 No

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

Answer / jay

You can execute the previous command by pressing [ESC]+ .

Is This Answer Correct ?    10 Yes 4 No

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

Answer / grb

[ESC].

(in words. Press Escape and a dot)

Is This Answer Correct ?    4 Yes 0 No

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

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

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

Answer / rasshmi

!!

Is This Answer Correct ?    1 Yes 2 No

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

Answer / jyothi sreerama

set -o emacs

Is This Answer Correct ?    1 Yes 3 No

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

Answer / himani agarwal

esc+command

Is This Answer Correct ?    2 Yes 6 No

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

Answer / ganesh

set -0 vi
then press esc k

Is This Answer Correct ?    2 Yes 7 No

Post New Answer

More Unix Commands Interview Questions

what is the difference between pipe(|) and tee command..

3 Answers   Cap Gemini, Rolta,


What command will bring user back to their home directory in UNIX?

13 Answers   IBM, Wipro,


What is mtime in find command?

1 Answers  


What is {} in find command?

0 Answers  


Give the command to display space usage on the UNIX file system.

16 Answers  


What does mkdir up2date; touch outdated up2date do?

2 Answers  


what does a process mean?

5 Answers   Infosys,


What is the difference between cat and more command?

0 Answers  


How to display no of records in oracle using unix command?

0 Answers  


what is the default signal kill in unix?

8 Answers   IBM,


How do you move a process which is running background to foreground?

9 Answers  


distinguish between paging and swapping?

1 Answers   Infosys,


Categories