tty and pts
i have some doubts regarding tty and pts...
for example this is a part of the output from my pc when i run ps -aux
whether tty and pts are abbrevations ?
please share ur knowledge on these things..
1. what is the meaaning of tty or TTY ? what is the significance of this column in ps ouptut
2. what is the usage or use of tty ?
3. what is pts ?
4. what is the difference between tty1 tty2 and ttyS1 ttyS2 and other tty's
tty = teletypewriter - it refers to the terminal that is running the process. (man tty)
pts = pseudo terminal - similar to above. (man pts)
The TTY heading is explained in the man page for ps (man ps)
ttySx is a serial device terminal... the old style notation.
ps -aux is supposed to list processes for user name "x". You should use ps aux instead, even though the program can handle this obvious typo.
Thanks for the info Simon Bridge, :)
but when someone connects to my PC through telnet it displays it as pts/4 or pts/6, so is there any device file naming convention followed by linux...?? say for serial devices and other devices ?
Did you read the man pages? That question is answered in the first paragraph.
BTW: you shouldn't allow telnet. Use ssh instead.
<off your sig> It is not "u" but "you" who learns from mistakes.
When someone directs you to a man page, read it or risk an RTFM.
ok thanks for that information....and i have altered my signature too.[:)]
TTY (TeleTYpewriter ) ports are direct connections to the computer such as a keyboard/mouse or a serial connection to the device. PTS (Pseudo Terminal Slave) connections are SSH connections or telnet connections. All of these connections can connect to a shell which will allow you to issue commands to the computer.
Original URL: http://www.question-defense.com/2009...terminal-types
|All times are GMT -5. The time now is 12:14 AM.|