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 is used to create a directory?
What will the following command do?
What is sed awk grep?
What do chown command do?
Name the unix command to find how many days the server has been up.
What is the nmap command?
Differentiate cat command from more command.
Can you enlist some commonly used network commands?
Which command will print your home directory on screen?
What is “chmod” command?
Is it inbetween or in between?
What does the metacharacter mean?
What is the general format of unix command syntax?
How does the system know where one command ends and another begins?
What is a command and examples?