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

Answer Posted / vishu146

:1,$s/string/string1/gc

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is s and g in sed command?

780


Which unix command lists files/folders in alphabetical order?

974


Which command will print your home directory on screen?

769


How to find $ai_serual resolved path by using unix

1238


What is the use of sed command in unix?

814






How can we use grep command in unix?

817


How do I delete files from command prompt?

776


What does this command do? Cat food 1 > kitty

1213


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

826


How can you see the command line history?

800


What is grep command in unix with examples?

805


What are some command words?

790


How do you grep a case insensitive?

716


What command is used to check the current users?

762


Who invented grep?

862