Not all users remember the components of your computer, as well as other system details, so the possibility of viewing the system information in the OS must be present. Platforms, is written in Linux, too, have such funds. Next, we will try to elaborate on the methods available to view the necessary information, taking as an example the latest version of the popular Ubuntu OS. In other distributions of Linux this procedure may be carried out in exactly the same way.
Look at the system information in Linux
Today, we offer two different methods of finding the necessary system information. They both work in slightly different algorithms, and have different concept. Because of this, each variant would be most useful to different users.
Method 1: Hardinfo
Method using Hardinfo program perfect for novice users and those who do not want to reach work in “Terminal”. Still, even the installation of additional software is not complete without the launch of the console, so you’ll have to contact her for one team.
sudo apt install hardinfo.
As you can see, Hardinfo is a kind of Assembly of all commands from the console, implemented through the GUI. Therefore, this method greatly simplifies and speeds up the procedure of finding the right information.
Method 2: Terminal
Built in to Ubuntu the console provides unlimited opportunities for the user. With commands, you can perform actions with programs, files, control system, and more. There are tools allowing to find information of interest via “Terminal”. Consider everything in order.
hostnameand then press Enterto display the account name.
sudo dmidecode -s system-serial-number
sudo dmidecode -s system-manufacturer
sudo dmidecode -s system-product-name
sudo apt-get install procinfo.
cat /proc/cpuinfo. You will immediately receive all the necessary information.
less /proc/meminfo. Immediately after entering the command you will see the relevant lines in console.
free-mis memory in megabytes;
free-h— in a simplified readable format.
swapon -s. You will be able to learn not only about the existence of such a file, but also see its volume.
lsb_release -a. You will get the information about version and learn a code name and a description.
uname-rdisplays the kernel version,
uname-pthe architecture, and
uname-a— General information.
lsblkto see a list of all connected hard drives and active partition. In addition, displays the summary of their volumes.
sudo fdisk /dev/sda, where sda is the selected drive.
lspci | grep-i vgaor
lspci-vvnn | grep VGAto display summary information about active graphics driver and used the graphics card.
Of course, this is a list of all available commands does not end, however, above we have tried to talk about the most basic and useful that can be useful for an ordinary user. If you are interested in options for obtaining specific data about the system or the computer, refer to the official documentation of the distribution.
You can choose the most suitable method of searching your system information is to use a classic console, or contact the program with an implemented graphical user interface. If your Linux distribution have any issues with the software or commands, carefully read the error and find the solution or hints in the official documentation.