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 is time_t?
What is command statement?
What is the functionality of a top command?
How do I search for a file in unix command?
How do I use grep to find a file?
What are filter commands in unix?
why metadb requires a seperate slice to create Solaris volume manager
Explain mount and unmount command.
What are awk commands?
How to display no of records in oracle using unix command?
What are the general commands in using unix os for a beginner?
Who command in unix?
What command is used to switching between users in unix?
What command will change your prompt to myprompt?
What is the command to view process running?