# who command

The who command displays the port number,
user-ID, and account name for the current port, a specified port,
or all ports.

## Syntax

```
who {port.number} {(options}
who {*} {(options}
who {user-ID} {(options}
```

## Parameter(s)

| port.number | Port number whose current account is to be displayed. If not specified, the account for the current port displays. | |
| --- | --- | --- |
| * | Displays the account names for all ports that are logged on. | |
| options | a | Converts output format to D3 format, showing the user-ID followed by the account name. This is the default setting. |
| c | Converts output format to R83 format. | |
| n | No pause option suppresses the pause at the end of the page on the terminal. | |
| z | Displays status of all ports, including those not logged on. The account name displays as unknown for ports not logged on. | |

## Example(s)

```
who
56 ref bob
```

```
who (a
[1321] D3 output for WHO display specified.
```

```
who
56 bob ref
```

## See also

- [list-users command](https://d3codex.com/tcl/list-users-command/)
- [listabs command](https://d3codex.com/tcl/listabs-command/)
- [Port number](https://d3codex.com/definitions/port-number/)
- [system() function](https://d3codex.com/pickbasic-flashbasic/system-function/)
- [u000e user exit](https://d3codex.com/pickbasic-flashbasic/u000e-user-exit/)
- [u50bb user exit](https://d3codex.com/pickbasic-flashbasic/u50bb-user-exit/)
- [u60bb user exit](https://d3codex.com/pickbasic-flashbasic/u60bb-user-exit/)
- [u71a2 user exit](https://d3codex.com/proc/u71a2-user-exit/)
- [ud070 user exit](https://d3codex.com/proc/ud070-user-exit/)
- [what command](https://d3codex.com/tcl/what-command/)
- [wheres command](https://d3codex.com/tcl/wheres-command/)
- [which command](https://d3codex.com/tcl/which-command/)

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