Tag Archives: Linux

sed and Multi-Line Search and Replace

I’ve been experimenting with getting regular expression patterns to match over multiple lines using sed. For example, one might want to change <p>previous text</p> <h2> <a href="http://some-link.com">A title here</a> </h2> <p>following text</p> to <p>previous text</p> No title here <p>following text</p> sed cycles through each line of input one line at a time, so the most […]

How I Rip and Encode MP3s on the Ubuntu Linux Command Line

I like to know how to use the command line for everything I can. Here are the tools and commands I use to make mp3s. First, I rip from the CDROM to a wav file. cdparanoia 1 prokofiev1.wav cdparanoia lets me specify the input device, but I don’t need to, since the default—/dev/cdrom—is what I […]

1 in 4 Million

Apparently there are four million of us Ubuntu users (I’m assuming they’re including Kubuntu in the mix). That sounds like a lot, until you realize that it’s only about 2/3 the number of Windows computers that are zombies.

Upgrade

Yesterday I upgraded my main computer from Kubuntu 5.10 (Breezy Badger) to 6.06 (Dapper). It’s probably one of the most painless upgrades of any that I’ve done: I few lines changed and typed, and apt-get does it all.

Flash for 64-bit Fedora Core 4

I complained last week that there’s no Flash for Linux 64-bit. Ziobudda asked why I didn’t just install the 32-bit Firefox. Why not? I couldn’t think of any good reason. So here’s how I did it. First of all, I wanted to use yum so I could avoid all dependency issues (not to mention it […]

Funny

I went to register for the LinuxWorld Expo coming to town next month, and I can’t see most of their site. I can’t see it because it’s Flash-based, and there’s no Flash for my computer’s operating system and architecture: Linux 64-bit.