String, read-only

The ttyname variable contains the name of the TTY device (that is, the terminal) from which the current task request was submitted on the submit host. If the client is running in pipe mode, then the value is null.

There is no run version of this variable.

A string that contains a TTY name. This is a read-only variable.