≡ Menu

Linux

8 UNIX / Linux Man Command Example to View Man Pages

In UNIX and Linux distros, command line programs come with their own documentation called manual pages or man pages. Man pages are generally written by the developer of the corresponding program. Generally the man pages are divided into number of sections. The following is the list of all available man sections. Every section has a [...]

{ 12 comments }

How to Setup Linux VPN Server and Client using OpenVPN

VPN stands for Virtual Private Network. A Virtual Private Network enables a computer to send and receive data from one private network to another private network which are connected via public network (Internet). This is helpful for those who are outside the company’s intranet, and like to connect to office network securely to access the [...]

{ 18 comments }

The clock that is managed by Linux kernel is not the same as the hardware clock. Hardware clock runs even when you shutdown your system. Hardware clock is also called as BIOS clock. You can change the date and time of the hardware clock from the BIOS. However, when the system is up and running, [...]

{ 17 comments }

How to Change Process Priority using Linux Nice and Renice Examples

Every running process in Unix has a priority assigned to it. You can change the process priority using nice and renice utility. Nice command will launch a process with an user defined scheduling priority. Renice command will modify the scheduling priority of a running process. Linux Kernel schedules the process and allocates CPU time accordingly [...]

{ 22 comments }

How to Write Your Own Linux Kernel Module with a Simple Example

What are kernel modules? Kernel modules are piece of code, that can be loaded and unloaded from kernel on demand. Kernel modules offers an easy way to extend the functionality of the base kernel without having to rebuild or recompile the kernel again. Most of the drivers are implemented as a Linux kernel modules. When [...]

{ 43 comments }

A process is nothing but a running instance of a program. It is also defined as a program in action. The concept of a process is fundamental concept of a Linux system. Processes can spawn other processes, kill other processes, communicate with other processes and much more. In this tutorial, we will discuss life cycle [...]

{ 15 comments }

How to Compile Linux Kernel from Source to Build Custom Kernel

Linux kernel is the life force of all Linux family of operating systems including Ubuntu, CentOS, and Fedora. For most part, you don’t need to compile the kernel, as it is installed by default when you install the OS. Also, when there is a critical update done to the kernel, you can use yum, or [...]

{ 31 comments }

10 Practical Linux Cut Command Examples to Select File Columns

Linux command cut is used for text processing. You can use this command to extract portion of text from a file by selecting columns. This tutorial provides few practical examples of cut command that you can use in your day to day command line activities. For most of the example, we’ll be using the following [...]

{ 36 comments }