How we will execute previous command in vi editor?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of tee command?

751


What do chown command do?

774


What is the behavioural difference between cmp and diff commands?

862


What is the nmap command?

795


How many unix commands are there?

805






Is it inbetween or in between?

791


What does grep v do?

750


What is the unix command to confirm a remote host is alive or not?

783


How do I search for a file in unix command?

730


What is grep in bash?

764


What is ctrl d?

790


Which command is used to delete all files in the current directory and all its sub-directories?

925


How do I search a whole word in vim?

871


What are the differences among a system call, a library function, and a unix command?

789


What is the use of finger command?

810