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
Which command can you use to find the currently running process in unix server?
What's a command word?
How do I run a bash script?
How do I find previous commands in unix?
What does grep v do?
What happens when we execute a unix command?
What is grep short for?
What is the search command in unix?
What is the comma to show the space allocation of files?
What is the use of egrep command in unix?
Which command is used to find whether the system is 32 bit or 64 bit?
What is {} in find command?
Can you explain a little bit about command substitution?
Describe the zip/unzip command using gzip.
What are the unix commands?