How to find and replace the below command?
Answers were Sorted based on User's Feedback
Answer / muralidharan
In a vi mode
:%s/searchword/replacaceword/g
| Is This Answer Correct ? | 17 Yes | 0 No |
Answer / pavithra
Using sed command:
sed 's/searchword/replaceword/g' filename --[It finds the
word in file and replaces and displays in the command line]
sed -i '/s/searchword/replaceword/g' filename -- [It edits
the file, finds and replaces the word and saves it and next
time when u open the file it displays the file with replaced
word]
| Is This Answer Correct ? | 8 Yes | 1 No |
boot process?
What are some command words?
how to remotely move a file ??? that mean how to move a file one machine to another machine ???
Give command that will make the file "run.sh" executable?
What is rmdir command?
distinguish between physical addresses and logical address?
What is grep and how do you use it?
What is the use of sed command in unix?
How to set sticky bit, or it have any seperate directory to create sticky bit in sunfir servers. Please help me , i don't no the exact answer?
What is the general format of unix command syntax?
What is the difference between grep and grep?
What is awk command used for?