Linux Commands

How To Delete/Clear Linux Comand Line History with Examples

You may want to clear the history file and the screen for security reasons. Some Linux distributions may clear the screen when you logout but others do not. Many programs read input as a single line at a time. The [...]

Bobbin Zachariah 3:48 pm

Commands Check Linux OS is 64 / 32 bit and CPU 64 / 32 Bit

You will need to use the 'uname' command to check the system information including kernel version and whether kernel is 32 bit or 64 bit. In order to check if the CPU is 32 or 64 bit, you need to run the [...]

Bobbin Zachariah 4:34 pm

How to Use lsof Command in Linux

Linux "lsof" command stands for List Open Files. It is extremely useful for a system administrator to find out the details about files that have been opened and their respective processes. With the help of this command, you can monitor your system for what [...]

Bobbin Zachariah 8:48 pm

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 [...]

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 Grant Normal User Root Privileges in Linux with Examples

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 mode, the [...]

Bobbin Zachariah 11:20 am

10 Practical Example to Learn Linux Find Command

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

Linux Awk Command With Examples To Make It Easy

AWK is a programming language or a tool which can be used to perform a wide variety of tasks, from simple tasks such as printing a message or displaying a file, to complex programs of solving SU-DO-KU. Awk is not just [...]

jomos 11:03 am

About Semaphores In Linux ? Use ipcs Command With Examples

  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 [...]

jomos 10:58 am

How to Check NFS Client Connection with Linux Command Rpcinfo

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

Find How to Check Linux Version Command Line

How to find Linux OS name and version? This article we explain all commands to get os name, its version, kernel version and CPU architecture of the hardware. Commands to Check OS Version Commands to find CPU architecture Command to [...]

Bobbin Zachariah 10:22 am