What command is used to replace the existing string with
some other?

Answer Posted / jaga

:%s/string/String1/g

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the command to compare two files in unix?

594


What is the difference between cat and more command?

606


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

739


Is ‘du’ a command? If so, what is its use?

613


Is it inbetween or in between?

559






Describe the usage and functionality of the command rm –r * in unix?

799


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

558


Describe the zip/unzip command using gzip.

586


What is the command to view process running?

550


What does this command do? Cat food 1 > kitty

950


Can you enlist some commonly used network commands?

580


What does the “echo” command do?

600


What does 'mkdir' command do in UNIX?

632


How do I run a whois command?

582


What is the nmap command?

555