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 [...]