What is use of sed command?
Answer Posted / sujit
sed is use to replace a character string with a defferent
string
syntax of "sed"
sed s/oldstring/newstring/filename
example
sed s/sujit/ajit/abc.old>abc
it means string sujit change into ajit which placed in file
abc.old
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
Which command will print your home directory on screen?
What is merge command in unix?
What is the difference between cat and more command?
Enumerate some of the most commonly used network commands in unix?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
How do I search for text in vi?
What is the use of tee command?
How do I search a whole word in vim?
What difference between cmp and diff commands?
What is the use of sed command in unix?
What is $0 bash?
Explain ‘library functions’ with respect to unix commands?
What is the use of cut command in unix?
What is grep and how do you use it?