tty.1 523 B

12345678910111213141516171819202122232425262728
  1. TTY(1) "fases core"
  2. # NAME
  3. tty \- Return the current user's terminal name
  4. # SYNOPSIS
  5. *tty*
  6. # DESCRIPTION
  7. Write to the standard output the name of the terminal that's open as the
  8. standard input. If the standard input isn't a terminal, *tty* writes to
  9. the standard output an error message (as specified by POSIX) and returns
  10. 1.
  11. # AUTHOR
  12. Written by Ferass El Hafidi as part of the fases
  13. project.
  14. Source code is at http://git.vitali64.duckdns.org/utils/fases.git.
  15. # COPYRIGHT
  16. Copyright (C) 2023 Ferass El Hafidi