What is use of sed command?

Answer Posted / varakumar

The sed utility is a stream editor that reads one or more
text files, makes editing changes according to a
script of
editing commands, and writes the results to standard
output.
The script is obtained from either the script
operand
string, or a combination of the option-arguments from
the -e
script and -f script_file options.

The sed utility is a text editor. It cannot edit
binary
files or files containing ASCII NUL (\0) characters
or very
long lines.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does find command return in unix?

592


Why is shebang used?

593


Which command is used to delete all files in the current directory and all its sub-directories?

660


Which command will print your home directory on screen?

540


Explain mount and unmount command.

611






Explain the steps that a shell follows while processing a command.

681


Name the unix command to find how many days the server has been up.

598


How do I run a bash script?

578


What is the unix command to confirm a remote host is alive or not?

579


What are reported commands?

562


What are awk commands?

582


What is rmdir command?

549


What will the following command do?

611


Which command is used to kill the last background job?

769


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

618