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


Please Help Members By Posting Answers For Below Questions

Explain command to view process running?

808


What does this command do,"$more readme.txt“?

857


What is the command to compare two files in unix?

816


Which command will print your home directory on screen?

786


What is the difference between cat command and more command?

791


What do know about tee command and its usage?

845


Write a command that will display files in the current directory, in a colored, long format.

914


What is command statement?

781


What is the function of grep command in unix?

792


Can you enlist some commonly used network commands?

799


How to find $ai_serual resolved path by using unix

1258


What does the md command do?

764


Explain ‘library functions’ with respect to unix commands?

813


Who invented grep?

865


What does #!/ Bin sh do?

763