Advice 1: How to find version of Linux

Linux is an operating system based on Unix and developed under the GNU project. In contrast to the paid OS like Microsoft Windows or Apple Mac OS X, Linux shell variety and not have a single official set. Each distribution looks differently. Hence, there are problems with viewing the system information.
How to find version of Linux
Instruction
1
To know the version of Linux from the terminal. Information about the version of the Linux operating system is usually stored in the file (RedHat – 2 of the file) in the directory: /etc/*release*.In the most popular build of Linux Ubuntu this directory is located here: /etc/lsb-release.
2
To know which release of Linux is installed on the computer enough to read this file:$ cat /etc/*release*
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.0
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.0.2"
3
For Ubuntu and almost all Linux distributions, compiled on Debian, use the command:$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.0.2
Release: 8.0
Codename: hardy
4
Another way to determine the version of Linux via the terminal is to open konsole and log in as root. Next you need to run the command: cat /etc/issue.netНа the screen will display information about the Linux distribution, e.g. Ubuntu 8.04.
5
In the Assembly on the Gnome panel, select "System" then "Administration" and finally "System monitor". In the opened window, the performance monitor will indicate the version of Linux, Ubuntu, Gnome, and kernel version.
6
Also some Linux distributions to learn about the operating system version in the help file. Select "System" in the Gnome panel and click On system. In the download on the screen the documentation in the first welcome paragraph contains information about the installed OS and its version.

Advice 2 : How to see linux users

Linux is a modern rapidly developing operating system. It features high stability and security. Linux has flexible settings, user management and extensive control capabilities of the console.
How to see linux users
You will need
  • Computer with linux operating system.
Instruction
1
All account users in linux are saved in text file /etc/passwd. Each line of the file contains information about one of your accounts. It contains 7 fields, separated by colons:1. Логин2. The unused field in which the old systems stored the password hash.3. The user ID (uid).4. The primary group ID for the account (gid).5. Personal information about the user such as real name and contact numbers.6. The location of the home directory.7. Command shell.
2
By default, the /etc/passwd file is readable to any user. You can view the records in it using a text editor with a command line utilities or the graphical interface.
3
To view users of linux directly from this file, just print its contents to the console with the command:cat /etc/passwdВы will see a list of all usersregistered in the system.
4
Account users different types 1. Root, uid=0.2. System account.3, Ordinary users. For systems based on Red Hat, they have a uid starting from 500 and more, and in systems based on Debian with 1000.
5
In the file /etc/passwd account is not sorted by type, so if you want to list only the ordinary users of linux, use the filters. For example, a command such as grep to obtain a list of only the usual users of debian systems, filtering by uid:cat /etc/passwd | grep -e "^[^:]*:[^:]*:[0-9]{4,}"Or by adding the pipe the cut command to get only their usernames and home directories:cat /etc/passwd | grep -e "^[^:]*:[^:]*:[0-9]{4,}" | cut-d: -f1,6
6
In addition to the file and console utilities you can obtain a list of usersusing a graphics program. For example, KDE contains a configuration module "Managing users and groups".
7
At the top of the module window displays the list of accounts. Clicking on any of them, you will get its description in the lower part of the window. The module by default displays only the regular user and root, but selecting the corresponding check box under the list, you will see and system users.
Is the advice useful?
Search