YouTip LogoYouTip

Linux Comm Tty

# Linux tty Command [![Image 3: Linux Command Manual](#) Linux Command Manual](#) The Linux tty command is used to display the file name of the terminal connected to standard input. In the Linux operating system, all peripheral devices have their names and codes. These names and codes are stored in the `/dev` directory as special files. You can execute the `tty` (teletypewriter) command to query the file name of the terminal currently in use. ### Syntax tty **Parameter Description**: * -s or --silent or --quiet: Do not display any information, only return a status code. * --help: Online help. * --version: Display version information. ### Example Display the current terminal # tty/dev/pts/4 [![Image 4: Linux Command Manual](#) Linux Command Manual](#)
← Linux Comm NewaliasesLinux Comm Traceroute β†’