Recent Articles

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 create volume group whose name test: #vgcreate test /dev/dha10 To display the details of volume […]

April 30, 2011 | By
| Reply More

How To Boot Linux Grub Into 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 only user available is the root user, and in RHEL, no password is asked for […]

April 30, 2011 | By
| Reply More

10 Example Scenarios To Learn Linux Find Command

The linux command “find” 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 number, file permissions etc. The output of "find" command can be used to perform other operations […]

April 30, 2011 | By
| 1 Reply More

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 any tool but a programming language, by Aho, Weinberger, and Kernighan. It is a field […]

April 30, 2011 | By
| Reply More

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 resources. If the multi-threaded feature is needed by the application, then it comes with a set of […]

April 30, 2011 | By
| Reply More

How To Check LUN or SAN Disk In Linux

To check the attached LUN from a storage device in Linux, we have explained this with few commands. It is just to understand better how to manage attached storage. #cat /proc/scsi/scsi file, it will give you information as shown below: Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: HP 36.4G Model: MAN3367MC Rev: HP05 Type: […]

April 30, 2011 | By
| Reply More

Linux Command Rpcinfo - Check Nfs Client Connection

1) Issue the following command on the NFS client to make sure the server is running all the NFS server processes: /usr/bin/rpcinfo -p servername The rpcinfo command should display the following processes: rpcbind nfs mountd status nlockmgr llockmgr 2) Issue the following command on the NFS client to make sure the rpc.mountd processed on the NFS server […]

April 30, 2011 | By
| Reply More

What All Command Used To Find Architecture Of Linux OS and CPU

Assume that administrator is in need to alter the existing system configuration or simply he wants to install a new software or hardware device before performing his needful task, he has to know the details of the system to make sure that the new software/hardware will work fine with the system environment. To get the […]

April 30, 2011 | By
| Reply More

Error: modprobe: Can't locate module block-major-22

The message is simply informational and most of the time harmless to the system. Messages like this usually occur after a kernel update and appear when a module that was used by the kernel previously is not being used or is not loaded anymore. However, sometimes this message appears because the system is probing for […]

April 24, 2011 | By
| Reply More

Linux Hdparm Command: Display Hard Disk Model and Serial Number

Hdparm is abbreviated as hard disk parameter. Hdparm is a command line utility used for setting the parameters of ATA hard disk in Linux operating system and also it is useful to view the current setting that is being used for your drive. A hard disk comes with a set default speed  and to change the […]

April 24, 2011 | By
| Reply More

Everyday Linux ps command Examples for System Admin

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 running processes on Unix/Linux operating systems. This command is commonly used for process monitoring. Whenever […]

April 24, 2011 | By
| Reply More

How To Enable Log For Ssh Login In Linux

To access the particular system on a network or to operate required device or to execute the commands through a remote system, we use several protocols like rlogin, rsh, rcp, rdist and ssh. Among those programmes, Secure Shell (SSH) protocol is the best for secure communications over insecure channels. SSH provides strong authentication for communication. […]

April 24, 2011 | By
| Reply More

How To Configure Netdump Client On Linux

1. To check whether “netdump” package has already been installed or not: # rpm –qa | grep netdump 2. If it is not installed, install netdump using the following command: # up2date -i netdump 3.  To double check the installed package and configuration files: # rpm –qa | grep netdump Note: Netdump configuration file path. Configuration […]

April 24, 2011 | By
| Reply More

Need For User bash_profile File In Linux

Every user in Linux has a profile. The profile is a set of facilities or rights provided to the particular user accounts. For example, if root user has different profile, then you can compare with normal users. If you login with normal user, some of the commands will not be executed because the path of the command is not […]

April 24, 2011 | By
| Reply More