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

Which command will print your home directory on screen?

547


How do I use grep to find a file?

583


Differentiate cat command from more command.

580


What does pipe () return?

598


Is ‘du’ a command? If so, what is its use?

639






What does #!/ Bin sh do?

597


What is grep and how do you use it?

581


How does pipe () work?

597


How to find $ai_serual resolved path by using unix

1029


What is the use of cut command in unix?

694


Describe the usage and functionality of the command rm –r * in unix?

829


What is the use of find command in unix?

588


Why is grep called grep?

783


What are grep patterns?

579


How do you grep recursively?

558