|
Linux命令:tty -
功能说明:显示终端机连接标准输入设备的文件名称。-
语 法:tty [-s][--help][--version]-
补充说明:在Linux操作系统中,所有外围设备都有其名称与代号,这些名称代号以特殊文件的类型存放于/dev目录下。你可以执行tty指令查询目前使用的终端机的文件名称。-
参 数: -s或--silent或--quiet 不显示任何信息,只回传状态代码。 --help 在线帮助。 --version 显示版本信息。 -
英文版本,欢迎翻译: -
NAME tty - print the file name of the terminal connected to standard input -
SYNOPSIS tty [OPTION]... -
DESCRIPTION Print the file name of the terminal connected to standard input. -
-s, --silent, --quiet print nothing, only return an exit status -
--help display this help and exit -
--version output version information and exit -
AUTHOR Written by David MacKenzie. -
REPORTING BUGS Report bugs to <bug-sh-utils@gnu.org>. -
COPYRIGHT Copyright ?1999 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MER? CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -
SEE ALSO The full documentation for tty is maintained as a Texinfo manual. If the info and tty programs are properly installed at your site, the command -
info tty -
should give you access to the complete manual. -
GNU sh-utils 2.0 January 2001-
|
|