.\" Copyright (c) 1981, 1990 The Regents of the University of California.
.\" %sccs.include.redist.man%
.\" @(#)mt.1 6.5 (Berkeley) %G%
.Nd magnetic tape manipulating program
is used to give commands to a magnetic tape drive.
If a tape name is not specified, the environment variable
must reference a raw (not block) tape device.
performs the requested operation once. Operations
may be performed multiple times by specifying
The available commands are listed below. Only as many
characters as are required to uniquely identify a command
end-of-file marks at the current position on the tape.
Rewind the tape and place the tape unit off-line
Print status information about the tape unit.
returns a 0 exit status when the operation(s) were successful,
1 if the command was unrecognized, and 2 if an operation failed.
If the following environment variable exists, it is utilized by
environment variable if the
Raw magnetic tape interface
.\" mt.1: mtio(4) missing