Search notes:

/dev/tty

tty stands for teletype.
In each process, /dev/tty is a synonym for the controlling terminal that is associated with the process group of the current process.
/dev/tty is particularly useful to make sure that messages are written or read from that terminal, no matter how input or output is redirected.

See also

/dev/console
/dev
The Shell command stty
TTY (Teletypewriter)
The Python stdlib module os has a ctermid() method which returns the filename of the controlling process's terminal.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Linux/fh...', 1758203020, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Linux/fhs/dev/tty(54): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78