Linux terminal terminal

Terminal a can of human-computer interaction interface

Physical terminal

  • Terminal apparatus: keyboard, mouse, display

terminal type

  • Console terminal: / dev / console
  • Serial Terminal: / dev / ttyS #
  • Virtual Terminal: tty: teletypewriters, / dev / tty #, tty may have n, Ctrl + Alt + F #
  • Graphic terminal: startx, xwindows
  • CentOS 6: Ctrl + Alt + F7
  • CentOS 7: Which terminal starts, ie which virtual terminal is located
  • Pseudo-terminal: pty: pseudo-tty, / dev / pts / # as: SSH connection remote virtual terminal

Virtual Terminal software

  • xshell
  • MobaXterm
  • SecureCRT
  • Putty
  • FinalShell

View the current terminal equipment

tty command View current terminal

[root@C8 ~]# tty
/dev/pts/0

Linux command
who view the current logged-on user

[root@VM_163_113_centos ~]# who
root     pts/0        2020-03-31 20:14 (117.183.*.*)
root     pts/1        2020-03-31 17:07 (115.171.*.*)
root     pts/3        2020-03-31 20:25 (117.183.*.*)
root     pts/5        2020-03-31 21:44 (115.171.*.*)

Guess you like

Origin www.cnblogs.com/bpzblog/p/12608869.html