Monday, 12 August 2013

replace string in the file

replace string in the file

I have a file named
/root/.mozilla/firefox/kqah08mg.default/prefs.js
in this file there is a line like this.
user_pref("browser.display.background_color", "#333333");
the
#333333
is a variable in that string.
i need to replace whole string with
SOMETHING_ELSE

No comments:

Post a Comment