Erase CD-RW / DVD-RW from CLI


As a Linux Administrator I used to do more task through command line rather than GUI. Today in need of erasing a re-writable disk via command line I found out wodim. wodim is used to record data or audio Compact Discs or to write DVD media on a DVD-Recorder.

To use wodim, you need to install it first on Ubuntu. Run

apt-get install wodim

How to Use
To erase a disk, run

wodim dev=/dev/cdrw blank=fast

You can find more info via “man wodim”

Subscribe / Share

Article by Vidyadhar

My name is Vidyadhar Sarmalkar & I work as a consultant and have done RHCE & CCNA.
Vidyadhar tagged this post with: , , , , , , , , , , , , , , Read 272 articles by

Leave a Reply

rss twitter facbook

Categories

Archives