|
File contains replace command?
i want to replace one files total text contains with another files text contains from my fedora console.
for example:
Two files:-
/newresolv.conf
&
/etc/resolv.conf
i want replace to the total text contains of "resolv.conf" file with the "newresolv.conf" file's inside total text contains but "resolv.conf" file's name can't be change...only the inside text contains have to replace.
can any1 give me the command?
Last edited by vikibd007; 08-28-2009 at 09:51 AM.
|