CmdID

CmdID / Commands

tty

Show filename of terminal connected to stdin. toybox

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Linux

from the toybox, 0BSD

Show filename of terminal connected to stdin. If none print "not a tty" and exit with nonzero status.

tty [-s]
-sSilent, exit code only

Several platforms

from tldr-pages, CC BY 4.0

Return the terminal name.

Print the file name of this terminal