If you want to executue the shell commands serially in bash script but also want to keep checking and exit if any of the command fails</p> set this at the...
While defining the your local yum repository you can use YUM's in built and custom variable, most commonly used are</p> $releasever This is replaced with the package's version, as listed...
Recently I was struggling to update the glibc on Ubuntu 10.10 from EGLIBC 2.12. to 2.15</p> Here are the steps I have taken to perform these tasks cd /usr/local/src/ ...
Sys Admin things...: Keeping your NetApp in check with Nagios: Recently we took delivery of a new NetApp. Two 3210′s with roughly 50TB of storage across five disk shelves. For...
Most of the time working with awk we require multiple field separators, e.g. from the o/p of ifconfig you require ip address , BCast address as well netmask you can get...
Bash does support the conditional variable assignment/ substitution e.g. below code snippet #! /bin/bash name=${2:-"Juned"} if [ "$name" != "Juned" ];then echo "hello $name" else echo "bye" fi will define...
How to increase semaphore value in linux?Semaphore can be described as counters used to control access to shared resources by multiple processes, They are most often used as a locking...
Before the beginning of time, when the Internet wasstill very much under the spell of bare Unix shellsand Gopher, before SLIP or PPP became widely used, an ambitious group of...
Top Ten Outsourcing Survey Executive Survey: The Outsourcing Institute's Annual Survey of Outsourcing End Users Top 10 Reasons Companies Outsource 1. Reduce and control operating costs 2. Improve company focus...
In my recent assignment I wanted to monitor the contents of a particular file and basis on that contents Nagios should send an alert. Pretty straight forward job :)</p> But...