Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'perl one-liner for this' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
perl one-liner for this
Authored by: Rainy Day on Dec 29, '05 02:58:01PM
The perl one-liner would look something like this:

  sudo perl -pi'.orig' -e 's/SPOTLIGHT=-YES-/SPOTLIGHT=-NO-/' /etc/hostconfig

This line edits the file, and creates a backup copy of the original with a ".orig" extension.

[ Reply to This | # ]