Skip to content

How to burn a CD/DVD through the command line

Cloud Infrastructure Expert
How to burn a CD/DVD through the command line

 

Introduction

In this guide, we will learn how to burn a CD/DVD through the command line on Linux using the cdrecord tool.

Prerequisites

Before proceeding, ensure you have:

  1. A Linux system with a CD/DVD burner
  2. The cdrkit package installed

Step 1: Install cdrkit

First, install the cdrkit package. On Debian-based systems, use the following command:

sudo apt-get install cdrkit

Step 2: Identify the CD/DVD Burner

Identify the CD/DVD burner device using the cdrecord -scanbus command:

cdrecord -scanbus

Step 3: Prepare the Files

Place the files you want to burn into a directory.

Step 4: Burn the CD/DVD

Use the cdrecord command to burn the CD/DVD. Replace device with your CD/DVD burner device identifier and /path/to/files with the path to the directory containing the files:

cdrecord dev=device -v -eject -data /path/to/files

Step 5: Eject the CD/DVD

Once the burning process is complete, eject the CD/DVD:

eject

Conclusion

Congratulations! You have successfully burned a CD/DVD through the command line on Linux using cdrecord.

Windows VPS Deutschland

Windows VPS España

Windows VPS Nederland

Windows VPS Italia

Windows VPS Portugal

VPS Windows Italia

Windows VPS

Windows VPS

Windows VPS Sverige

Windows VPS Norge

Windows VPS

Windows VPS Türkiye

Windows RDS (Remote Desktop Services)

Windows VPS

Explore more

More on this topic

Netcloud24
Netcloud24
Cloud Infrastructure Expert · NetCloud24

Comments are closed.