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 does the command '$ls | wc –l > file1' do?
What is grep in bash?
Can you write a command to erase all files in the current directory including all its sub-directories?
What is the difference between pipe (|) and tee command in unix
what will this do $cat > file.c ?(file.c is a file in current directory)
How many unix commands are there?
What are the unix commands?
What is .sh file?
Give the command to display space usage on the UNIX file system.
What difference between cmp and diff commands?
What is the use of the tee command?
What is the significance of the 'tee' command?