Replace pattern in text

hi unix expert
is there any command in linux to repace a pattern in the text to another pattern?

many thanks
samad

Yes the command is called sed.

the command "man sed" gives you help. Since your request is really vague I cannot do much except suggest you go here:

Linux sed command help and examples

Hi,

Use below command.

sed 's/patt/newpatt/g' file_name

Thanks
Biswajit