Burning from the command prompt is a simple, and quick way of creating CDs. If you want to create an image file, use the following command:
~>
mkisofs -r [filename] -o /tmp/[cdname].iso
where [filename] is
the name of the file you want to convert into an ISO image and [cdname] is
the name of the CD ISO.To burn a CD, type:
~>
sudo cdrecord -v -tao speed=[x] -data /tmp/cd.iso dev=/dev/cdrom
The -tao option
is the mode required for muti-session recording, and stands for Track At Once. For
the speed, I usually choose 16 (burn at 16x), but you can choose
whatever you feel comfortable with.If you have a CD-RW disc that can be erased, you can erase it by typing in:
~>
sudo cdrecord blank=fast dev=/dev/cdrom
For additional information,
read the man
page for cdrecord.

