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

Good idea! | 21 comments | Create New Account
Click here to return to the 'Good idea!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Good idea!
Authored by: zs on Nov 17, '05 10:52:14AM
Looking back on this, it could be simplified further:
if [ ! $EDITOR ]; then EDITOR=/usr/bin/vi; fi
/usr/bin/sudo $EDITOR /etc/hosts
/usr/sbin/lookupd -flushcache


[ Reply to This | # ]