# t-act command

The t-act command selects a previously
attached tape device as the currently active device to read and write
to. D3 releases not only can have many users using many tapes simultaneously,
a single user can have multiple tapes. This command allows switching
between tapes.

## Syntax

```
t-act device.num
```

## Parameter(s)

| device.num | Device to make active. |
| --- | --- |

## Example(s)

```
set-device 1
set-device 2
t-dump md
t-act 2
t-dump md
t-act 1
t-dump bp
t-act 2
t-dump bp
t-det
```

## See also

- [set-device command](https://d3codex.com/tcl/set-device-command/)

---
Source: https://d3codex.com/tcl/t-act-command/ - part of the D3Codex reference.
