How to rewind a tape drive in Ubuntu

 

This again uses the mt command, and is nice and easy:

 

sudo mt -f [path/to/tape/drive] rewind

 

A common example would be:

 

sudo mt -f /dev/st0 rewind

 

Easy done! In the above example it’s st (zero) not st (letter o) – in case it’s not clear from the font.