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

Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

909


Differentiate cmp command from diff command.

857


What is grep short for?

795


Is it inbetween or in between?

844


Which command is used to kill the last background job?

1072


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

1563


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)?

1260


Who command in unix operating system?

911


Explain command to display different lines that are found when compare two files?

934


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

1664


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

956


What are some command words?

877


What is the use of find command in unix?

828


What is the comma to display different lines that are found when compare two files?

849


How do you grep a case insensitive?

785