EmbLogic's Blog

E10 commands

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 ?

One Response to E10 commands

  1. msiddarth says:

    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.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>