.Stream.Term.Name (gb)

Property Read Name As String

Return the name of the device file associated with the terminal.

Print File.In.Term.Name
/dev/pts/3