The operating system on VMware ESX 3 is a striped down version of linux. It has only the bare necessities for VMware to function. I wanted to configure a cron job to email the log file, but because sendmail is…
Awk the swiss army knife of the Unix toolkit.
The awk command is very handy when you need to filter the contents of a file, a pipe,or keyboard. It searches each line of input for patterns that you specify and when the pattern is matched, it performs an action.…
Explanation of Standard input-output in Unix and Linux
Once a command is run, a process is created. This process then opens three flows: stdin, called the standard input, where the process will read the input data. By default stdin refers to the keyboard; STDIN is identified by the…
Configuring the SNMP settings on a Cisco MDS 9000 series Fabric switch.
Simple Network Management Protocol (SNMP) is used to monitor network attached devices. Any changes in the status of the monitored device is transmittted to an SNMP log collection server. The server can be configured to send out notifications to the…
How to automate ftp login and file transfer
As a Linux/Unix server administrator I ran into an occasion where I had to automate the file transfer via ftp to a remote server. I had to create a shell script to automatically login to the remote ftp server and…
Auditing the cron jobs scheduled on the Unix or Linux server.
I have recently taken ownership of a Solaris 5.9 server and am in the process of migrating the applications over to a recent release. I decided to audit the applications and configuration of all the apps installed. One of the…