[kanchilug] 1D1C - tty

  • From: Dhanasekar <tkdhanasekar@xxxxxxxxx>
  • To: ilugc@xxxxxxxxxxxxx, kanchilug@xxxxxxxxxxxxx, ilugd@xxxxxxxxxxxxxxxxxxxx
  • Date: Fri, 14 Apr 2023 06:00:00 +0530

tty - print the file name of the terminal connected to standard input

$ tty
/dev/pts/0

To Print nothing, only return an exit status.
$ tty -s



regards,
T.Dhanasekar

Other related posts:

  • » [kanchilug] 1D1C - tty - Dhanasekar