Tyson Zinn
$ sed -i 's/oldname/hostname/' /etc/hosts /etc/hostname
With sed you can replace strings on the fly.
by David Winterbottom (codeinthehole.com)
No comments:
Post a Comment