What is use of sed command?

Answer Posted / sumitabha das

sed is a multipurpose tool which combines the work of
several filters.

sed uses instructions to act on text.
AN instruction combines an address for selecting lines with
an action to be taken on then , as shown by the syntax

sed options 'address action' file(s)

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What command is used to switching between users in unix?

566


how to sort the content of the file based on numeric values

1257


What is the general format of unix command syntax?

698


What difference between cmp and diff commands?

729


How do I use grep to find a file?

583






What is used to type command?

549


What is a command and examples?

592


What is the function of grep command in unix?

594


Which command is used to copy files?

562


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

693


Explain ‘library functions’ with respect to unix commands?

606


Which unix command to make a new directory?

595


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

965


How do I use nslookup?

577


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

639