is there a linux command to find out the file connected to standard output ?

vishay20

New member
"tty" in unix prints to console the file(device) connected to standard input . Since all devices in linux are seen as files , what is the command to find out the file connected to standard output( aka console) . when i run tty i get something like "/dev/ttys001" is this the name of my keyboard ( i.e keyboard device file )
 
Back
Top