I have 2 machine setup of rhel7 , one is in terminal mode and the other is in grahical mode , when I run 'who' command on both the machines why do I get 'tty' in 2nd column output for the machine in terminal mode and 'pts' for machine in graphical mode
Explain who command output in 2nd column
who
See here What is the purpose of the pts directory in linuxThe pts/0 is telling you which pseudo terminal the user was logged in on. In this case it's terminal 0,1,2 etc.A tty is a native terminal device, the backend is either hardware or kernel emulated.A pts (pseudo terminal device) is a terminal device which is emulated by an other program (example: xterm, screen, or ssh are such programs).The :0 means the graphical display number, where display / screen are logical concepts of X windows system (not physical display). 