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
What is the difference between awk and grep?
What does the “echo” command do?
Who command in unix?
What does pipe () return?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
Why is grep called grep?
What is the behavioural difference between cmp and diff commands?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What is the use of the tee command?
Explain command to view process running?
How many unix commands are there?
How do I delete files from command prompt?
What does the md command do?
What is s and g in sed command?
What does touch command do in unix?