[Linux Learning Notes] Linux common Commands-user version information view

Source: Internet
Author: User

User version Information view1. View current system User login information: who
Command name: Who command path:/usr/bin/who Execute permissions: All user syntax: Who function Description: View current system User login information supplement: W command provides more powerful features than the WHO command
2. View Current user identity: WhoAmI
Command name: WhoAmI command path:/usr/bin/whoami Execute permissions: All user syntax: WhoAmI function Description: View Current user identity
3. View System Version information: Uname
Command name: uname command path:/usr/bin/uname Execute permissions: All user syntax: Uname-a # #当前操作系统的所有有用信息-R # #内核版本信息 (in 3.10.0-229.el7.x86_6 4 for example, the second bit 10 is more important, the odd number is the beta version, the even is the official version) function Description: View System version information

Add:

Basic concept: 1.     TTY (collectively referred to as terminal equipment): The word "TTY" originates from teletypes, or teletypewriters, which originally refers to a telex typewriter, which is used to read and send information through a printer keyboard through a serial line, which is later replaced by a keyboard and a display, so it is now more appropriate to call the terminal.      A terminal is a type of character device that has many types, usually using a TTY for short-range end devices. 2. Pty (virtual Terminal): But do we need a terminal interaction if we telnet to the host or use xterm remotely? Yes, this is Virtual Terminal pty (Pseudo-tty) 3. PTS/PTMX (PTS/PTMX is used in conjunction to achieve Pty): pts (pseudo-terminal slave) is the implementation of Pty, and PTMX (Pseudo-terminal master) is used in conjunction with Pty.



[Linux Learning Notes] Linux common Commands-user version information view

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.