What is use of sed command?

Answer Posted / sujit

sed is use to replace a character string with a defferent
string

syntax of "sed"
sed s/oldstring/newstring/filename

example
sed s/sujit/ajit/abc.old>abc

it means string sujit change into ajit which placed in file
abc.old

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Who command in unix?

571


Explain mount and unmount command.

611


How can we use grep command in unix?

610


Give the command for finding the current date.

578


What is the command to view process running?

572






What is the pipe command?

574


How do I search for a file in unix command?

544


Explain command to view process running?

611


What does 'mkdir' command do in UNIX?

658


What is the functionality of a top command?

623


Which unix command to make a new directory?

587


What command is used to check the current users?

592


What command will change your prompt to myprompt?

696


Which command is used to create a directory?

569


How do I run a whois command?

596