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 does the command '$ls | wc –l > file1' do?

0 Answers  


What is grep in bash?

0 Answers  


Can you write a command to erase all files in the current directory including all its sub-directories?

1 Answers  


What is the difference between pipe (|) and tee command in unix

14 Answers   Cap Gemini, TCS,


what will this do $cat > file.c ?(file.c is a file in current directory)

20 Answers   IBM,






How many unix commands are there?

0 Answers  


What are the unix commands?

0 Answers  


What is .sh file?

0 Answers  


Give the command to display space usage on the UNIX file system.

6 Answers  


What difference between cmp and diff commands?

0 Answers  


What is the use of the tee command?

0 Answers  


What is the significance of the 'tee' command?

0 Answers  


Categories