Thursday, 27 August 2009

Find and replace with sed

I use this when switching distributions, and I need to add the new distro name to sources.list
sudo sed -i 's/jaunty/karmic/g' /etc/apt/sources.list

No comments: