What command is used to replace the existing string with
some other?
Answer Posted / amit kumar
sed 's/existing_word/new_word/g' file1.txt.It replaces the
all the existing word with new word wherever it occurs in
file1.g stands for global.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are bash commands?
Explain how to use grep command to list find the records of a file containing 10 different strings?
How do I use nslookup?
How to find $ai_serual resolved path by using unix
What is “chmod” command?
What is command substitution?
What will the following command do?
Explain command to display different lines that are found when compare two files?
What is the difference between cat and more command?
How does the system know where one command ends and another begins?
How do I run a whois command?
Which command is used to kill the last background job?
What does touch command do in unix?
What command will change your prompt to myprompt?
What does pipe () return?