A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

Update SSH Key on multiple hosts

#!/bin/bash

#Author Ananthan PWD=`pwd` SERVERS=`cat $PWD/server_list` USR=`whoami` LOG=”$PWD/uptime_report”

SERVERS=`cat $PWD/server_list` USR=”akathira” LOG=”$PWD/tools/key/out.log+`date +%y%m%d%h%m%s`” SUCCESS=”$PWD/tools/key/success_hosts.log+`date +%y%m%d%h%m%s`” FAILIURE=”$PWD/tools/key/failiure_hosts.log+`date +%y%m%d%h%m%s`” PINGABLE=”$PWD/tools/key/failping.log+`date +%y%m%d%h%m%s`” >$LOG >$SUCCESS >$FAILIURE >$PINGABLE COUNT=1

for hosts in $SERVERS do count=$(ping -c $COUNT $hosts | grep ‘received’ | awk -F’,’ ‘{ print $2 }’ | awk ‘{ print $1 }’) if [ $count -ne 0 ]; […]

RHCSA exam overview

Overview

This guide provides information candidates may use in preparing to take the Red Hat Certified System Administrator (RHCSA) exam on Red Hat Enterprise Linux 6. Candidates taking the Red Hat Certified Technician (RHCT) exam on Red Hat Enterprise Linux 5 should consult the past RHCT/RHCE Exam objectives linked above. Red Hat is not responsible […]

Linux quick hardware commands

HARDWARE lshal = list hardware devices lspci -vv = list PCI devices lsusb lspcmcia /proc/interrupts /proc/ioports /proc/dma dmesg – It will show the system hardwares as well. If you have added new hardware, you can verify using dmesg command as well. /proc/cpuinfo – Find info about CPUs /proc/meminfo – Find info about RAM /proc/interrupts /proc/ioports […]

Advantage of using UUID

I was having this issue in the beginning that why Linux started to use UUID instead of real device name. Here is the answer.

You can find UUID using many commands and here is the easy way.

ls -l /dev/disk/by-uuid/

Or you can use blkid command.

The benefit of using UUID is that if you […]

Quick NFS share guide

Here is a quick NFS share guide.

1. First create a /data shared directory and grant full permission to it

2. Shared folder for the network of server(192.168.0.0/24) with read and write access in /etc/exports file

3. /data 192.168.0.0/24(rw,sync),then restart the nfs services

4.verify with showmount command that you have successfully shared or not tht […]

how to check status of account

how to check status of linux account?

You can use any of the following methods to find out the status of accounts

passwd -S <username>

chage -l username Minimum: 7 Maximum: -1 Warning: 7 Inactive: -1 Last Change: Aug 03, 2010 Password Expires: Never Password Inactive: Never Account Expires: Never

passwd -S -a | grep […]