Friday, 16 August 2013

Sed command won's save the substitutioned word in the file

Sed command won's save the substitutioned word in the file

I have a file named sara and in this file i have the word UNIX somewhere
and i want to replace it with linux. sed 's/UNIX/linux/' sara
but it only echos the all content with this change but not saving it in
the file sara when i enter with an editor.

No comments:

Post a Comment