In vi editor how do you execute unix commands?

Answer Posted / pritesh_8

you can execute as
for example
:filename.c
this will copy current file in vi editor into filename.c
although it is not unix cmd but makes the use of cp cmd

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the pipe command?

800


What will the following command do?

799


Which unix command to make a new directory?

786


What is the command to find hidden files in the current directory?

820


Enumerate some of the most commonly used network commands in unix?

820






What is merge command in unix?

1130


What does awk stand for?

786


What do chown command do?

774


What does find command return in unix?

831


Which command is used to copy files?

801


What is the use of tee command?

751


What command is used to check the current users?

777


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

793


What is the comma to display different lines that are found when compare two files?

785


What is time_t?

769