What is use of sed command?
Answers were Sorted based on User's Feedback
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 |
Answer / monu verma
sed is a command used for opening stream editor.
Is This Answer Correct ? | 7 Yes | 10 No |
What is pipe command in unix?
who to change the duplex setting of network interface in command line
Why is shebang used?
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?
distinguish between paging and swapping?
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?
What is grep in bash?
Who command in unix?
What command is used to replace the existing string with some other?
Differentiate cmp command from diff command.