What is use of sed command?

Answers were Sorted based on User's Feedback



What is use of sed command?..

Answer / 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

What is use of sed command?..

Answer / monu verma

sed is a command used for opening stream editor.

Is This Answer Correct ?    7 Yes 10 No

Post New Answer

More Unix Commands Interview Questions

What is pipe command in unix?

0 Answers  


who to change the duplex setting of network interface in command line

1 Answers  


Why is shebang used?

0 Answers  


1-how will you display a file whose name is starting with '- '? 2-how will you add a patten at end of every line in vi editor?

7 Answers  


distinguish between paging and swapping?

1 Answers   Infosys,


How to check whether some services are running in another server or not? Suppose i am currently in a server named A.I want to check whether some services are running in server B without logging into the server B.

3 Answers   Amazon, MBA, Syntel, TCS, Unisys,


how to find largest file?

14 Answers   HCL, Microsoft, Thomson Reuters,


What is the command to compare two files in unix?

0 Answers  


What is grep in bash?

0 Answers  


Who command in unix?

0 Answers  


What command is used to replace the existing string with some other?

8 Answers   TCS,


Differentiate cmp command from diff command.

0 Answers  


Categories