Linux Commands

How to Use ethtool Command with Examples

The ethtool command is used to display/change Ethernet adapter settings. You can change network card speed, auto-negotiation, wake on LAN setting, duplex mode using this tool in Linux. In this article, I will show you some ethtool command examples that help [...]

Bobbin Zachariah 11:27 pm

Linux Chage Command to Set Password Aging for User

chage command - Reset password expire N days

The command name ‘chage’ is an acronym for ‘change age’. This command is used to change the user's password's aging/expiry information. As a system administrator, it's your task to enforce password changing policies so that after a certain period of [...]

Bobbin Zachariah 10:06 pm

How Linux Who & Last Command Helps for Root Cause Analysis

The last command is very important in linux as it helps in doing root cause analysis of the linux system. Assume that something is changed in the linux system, in this situation you are not sure who has made the changes. Using the 'last' [...]

Bobbin Zachariah 9:56 pm

How to Give Root Privileges to a User in Linux

The “root” super user is the king of users in Linux/Unix. Having root access grants full and unlimited access to the Linux box. I will show you how to allow root access to a user in a Linux system. Typically, root [...]

Bobbin Zachariah 1:18 pm

Create LVM On New Disk In Redhat Linux

First of all, make a partition using fdisk command and then toggle that partition to LINUX LVM (8e) label.Then create a physical volume using pvcreate command as follows: #pvcreate /dev/hda10 To display the size of the physical volume: #pvdisplay /dev/hda10 To [...]

Bobbin Zachariah 12:02 pm

How to Boot Linux Grub into Single User Mode

Single User Mode

GRUB is a GRand Unified Bootloader, the default bootloader in Linux. GRUB can be used to boot Linux in the single user mode. The single user mode is a restricted mode, that is used for maintenance purposes. In single user [...]

Bobbin Zachariah 11:20 am

Linux Find Command with Practical Examples

The Linux find command is a very powerful command which is basically used for searching files under a directory structure. This command can be used to find files using a variety of options such as by name, file type, inode [...]

Bobbin Zachariah 11:08 am

How to Use awk Command in Linux

Awk (Aho, Weinberger, and Kernighan) is a powerful command used in Unix/Linux for processing or analyzing text files from the terminal. Awk is a scripting language which can perform very complex tasks. Awk is a field or column processor (i.e. [...]

jomos 11:03 am

Understanding Semaphores in Linux

A semaphore is a mechanism that allows contending process or thread to alter, monitor queries, and control shared system resources. A semaphore is a solution to race condition in multiprocessing system. Race condition occurs when multiple processes try to access shared resources. [...]

jomos 10:58 am

How to Check NFS Client Connection with Rpcinfo Command

Rpcinfo command shows each RPC-based service locally or on a remote Linux machine. In this article, I will show you a couple of commands to troubleshoot NFS related issues. Check NFS service status Issue the following command on the NFS [...]

Bobbin Zachariah 10:36 am

How to Check Linux Version from Command Line

How to find Linux OS name and version? This tutorial we explain all commands to get os name, its version, kernel version and CPU architecture of the hardware. There are lots of Linux distros like Debian, Ubuntu, CentOS, Mint, Arch, [...]

Bobbin Zachariah 10:22 am

Everyday Linux ps command Examples for System Admin

ps child

Linux/Unix system administrator should be very proficient in performance monitoring and tuning. For performance monitoring, administrator should understand how various Linux component and processes works (like CPU, Memory, I/O and Network). Process status (PS) is a command used to display current [...]

Bobbin Zachariah 9:27 am

How to Configure Netdump Client on Linux

Linux Netdump

Netdump is used to transport kernel core memory images to a remote server during a crash. In this article, I will show you some useful commands to setup netdump on Linux. 1) Check Netdump Package To check whether “netdump” package has already [...]

Bobbin Zachariah 7:28 am

How to List Linux Pci Devices Using lspci Command

The peripheral component interface is a computer bus used for attaching the hardware devices in a computer. 'lspci' command is used in Linux operating system to display all the information about these PCI buses of the system and devices which are [...]

Bobbin Zachariah 10:09 pm