Forrest logo
back to the wodim tool

wodim:tldr:c30d7

wodim: Burn a file to the disc in an optical drive, potentially writing to multiple discs in succession.
$ wodim -tao dev=/dev/${optical_drive} -data ${file-iso}
try on your machine

This command is used to burn a CD or DVD using the wodim utility.

Here is a breakdown of the command and its options:

  • wodim: This is the command-line utility that is used to write data onto optical discs. It is commonly used on Linux systems.
  • -tao: This option specifies the writing mode as "Track At Once" (TAO). TAO is a method of writing optical discs where each track is written independently, and the laser is turned off between tracks. This mode is typically used for burning audio CDs.
  • dev=/dev/${optical_drive}: This option specifies the device file for the optical drive being used. /dev/${optical_drive} represents a placeholder variable ${optical_drive} which should be replaced with the actual device file path. For example, /dev/cdrom or /dev/dvd.
  • -data ${file-iso}: This option specifies the input file to be burned onto the optical disc. ${file-iso} represents a placeholder variable ${file-iso} which should be replaced with the actual file name and path of the ISO image or data file to be burned.

So, by using this command with the appropriate options and replacing the variable placeholders with the actual values, you can burn the specified ISO image or data file onto a CD or DVD using the specified optical drive.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the wodim tool