What is use of sed command?

Answer Posted / raj

Sed is a stream editor and you can use as a filter

The following things are happen using sed command

1) Printing a line
2) Deleting a line
3) Substituing a line

-e --> editing mode
-f --> Using this arugment you can open a .sed file to
execute the file
-n --> Default output

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I find previous commands in unix?

843


What are awk commands?

837


What is the comma to show the space allocation of files?

797


Is it inbetween or in between?

822


What do know about tee command?

859


Using unix command how to display no of records in oracle?

868


What is the difference between cat command and more command?

833


What are the general commands in using unix os for a beginner?

846


How can we use grep command in unix?

873


What does awk stand for?

816


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

934


What is the significance of the 'tee' command?

858


What is the use of the tee command?

845


What is grep command in unix with examples?

876


How to display no of records in oracle using unix command?

840