C Keywords – Reserved Words

In C, we have 32 keywords, which have their predefined meaning and cannot be used as a variable name. These words are also known as “reserved words”. It is good practice to avoid using these keywords as variable name. These are – “auto, break, case, char, const, continue, double, default, do, else, enum, exturn, float, … Read more

How to Install Visual Studio Code on CentOS 7

Visual Studio Code is an open-source cross-platform code editor developed by Microsoft. It has a built-in debugging support, embedded Git control, syntax highlighting, code completion, integrated terminal, code refactoring and snippets. Prerequisites You’ll need to be logged in as a user with sudo access to be able to install packages. Installing Visual Studio Code on … Read more

How to Install Wine 2.9 in Ubuntu:

The official Wine repository has built the packages for Ubuntu 14.04, Ubuntu 16.04, Ubuntu 16.10, Ubuntu 17.04. Follow the steps one by one to add the repository and install Wine 2.9: 1. Open terminal via Ctrl+Alt+T, and run command to install the key: wget https://dl.winehq.org/wine-builds/Release.key && sudo apt-key add Release.key 2. Then add the Wine … Read more

How to Extract Information about Hardware Components

You can also use the dmidecode utility to extract hardware information by reading data from the DMI tables. To print information about system, run this command. To print information about BIOS, run this command. To print information about processor, run this command.

How to Print PCI Devices Information

PCI devices may included usb ports, graphics cards, network adapters etc. The lspci tool is used to generate information concerning all PCI controllers on your system plus the devices that are connected to them. Use the -t option to produce output in a tree format. Use the -v option to produce detailed information about each … Read more

How to View Linux System Hardware Information

use the lshw tool to gather vast information about your hardware components such as cpu, disks, memory, usb controllers etc. lshw is a relatively small tool and there are few options that you can use with it while extracting information. The information provided by lshw gathered form different /proc files. Note Point: Do remember that … Read more

How to View Linux CPU Information

To view information about your CPU, use the lscpu command as it shows information about your CPU architecture such as number of CPU’s, cores, CPU family model, CPU caches, threads, etc from sysfs and /proc/cpuinfo. [centos7@localhost ~]$ lscpu Architecture:               x86_64 CPU op-mode(s):        32-bit, 64-bit Byte Order:                 Little … Read more