Kernel Modules Versus Applications

Before we go further, it’s worth underlining the various differences between a kernel module and an application. Whereas an application performs a single task from beginning to end, a module registers itself in order to serve future requests, and its “main” function terminates immediately. In other words, the task of the function init_module (the module’s entry … 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 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

How to View Linux System Information

To know only system name, you can use uname command without any switch will print system information or uname -s command will print the kernel name of your system. root@localhost ~ $ uname Linux To view your network hostname, use ‘-n’ switch with uname command as shown. root@localhost ~ $ uname -n localhost.localdomain To get … Read more

Penetration Testing On 802.11b Networks

The Institute of Electrical and Electronics Engineers (IEEE) created the 802.11b Standard to provide a secure architecture for communicating with networking devices over an air medium but the standard has fallen short in providing a secure criterion. The 802.11b Standard has left many doors open for hackers to exploit these shortcomings and the goal of … Read more

How to Get Total Inodes of Root Partition

On Linux and other Unix-like operating systems, an inode stores information that describes a file or directory (also a file – because everything is a file in Unix) except its name and content or its actual data. Therefore, each file is indexed by an inode which is metadata about the file. An inode contains information … Read more