What command is used to replace the existing string with
some other?
Answer Posted / thangaraju
sed 's/existingstring/newstring/g' filename or Specfied
row means sed '1,10s/existingstring/newstring/g' filename
Is This Answer Correct ? | 22 Yes | 1 No |
Post New Answer View All Answers
What is difference between grep and find command in unix?
Which command will print your home directory on screen?
What is the use of find command in unix?
How can you see the command line history?
Explain command to view process running?
What is a command and examples?
What are filter commands in unix?
What is the command to compare two files in unix?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is the behavioural difference between cmp and diff commands?
What is command substitution?
What are grep patterns?
What is the use of awk command in unix?
What is the use of finger command?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?