after giving the who command which basically tells who the user is we get
username ttyl date time
username pts/0 date time
what is meant by this ttyl and pts/0 ?
after giving the who command which basically tells who the user is we get
username ttyl date time
username pts/0 date time
what is meant by this ttyl and pts/0 ?
EmbLogic Research & Competency Development Labs
Phone: +91 9818467776, 8527567776, 9650467776
Email: info@emblogic.com
Copyright © EmbLogic Embedded Technologies Pvt. Ltd.
To know which users are currently logged in to Linux system, which console they’re using, and the date and time they logged in who command is issued.
In the output: the term tty stands for teletype. In the olden days of computing, a terminal was just a keyboard with an attached printer, so you read everything off the teletype. and PTS stands for Stands for pseudo terminal slave which means a user had opened a terminal from x-window. The number of terminals will be opened it will be listed as pts/0,pts/1 and so on..
The difference between TTY and PTS is the type of connection to the computer. TTY ports are direct connections to the computer such as a keyboard/mouse or a serial connection to the device. PTS 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.