Category Archives: Tips

awk Commands, Examples & Meaning


awk is an interpreted language used for data processing and validation,  generate reports and experiment with algorithms that can be ported to other languages.

awk name & History
The name awk comes from the initials of its creators: Alfred V. Aho, Peter J. Weinberger, and Brian W. Kernighan.
Original version of awk was written in 1977 at AT&T Bell Laboratories.  Paul Rubin wrote gawk ( gnu awk ) in 1986.

Running Old Internet Explorer Based Applications in ie10

Windows Xp support is stopping on April 8, 2014 and one of the issues is that when you migrate to current Windows operating systems ( windows 8 ) old ie browsers are not supported for installation. Current OS Windows 8 comes with ie 10 and older versions of ie are not supported.
The biggest problem is that many of corporate applications which are designed long back and no longer supported may still need older ie 7 , 8 or 9

Unix Date Format Examples

Unix date format is needed  in the scripts, timestamped log files and  script generated reports .  This article attempts to simply date formatting with several examples .  Date command in Unix is used to format date as well as time . First portion of this article covers Date  function and the second portion has the  time function covered .

ssh without password in few simple steps

Passwordless access for ssh and sftp , How to do sftp & ssh without password – Step by Step

This a real life example of configuring passwordless access for two users . The user ‘web’ in this case needs a secure password less access to another user james in a server ‘devserver’

Php Date Format

Date time formatting in PHP
Many scripts written in php need date and time function . PHP has many predfined date formats and you can also customized it as per your need .
Here are some of the date format examples and additional details for php.

Crontab – Quick Reference

Setting up cron jobs in Unix and Solaris

cron is a unix, solaris utility that allows tasks to be automatically run in the background at regular intervals by the cron daemon. These tasks are often termed as cron jobs in unix , solaris.  Crontab (CRON TABle) is a file which contains the schedule of cron entries to be run and at specified times.

Unix Commands Tutorial

Unix commands are the first thing needed by a unix sysadmin who are starting to work in unix operating system . Unix operating systems comes with online manual system which can be used to see the command details , syntax options and examples on while working on a unix system. Unix manual can be accessed using man and it requires the man package installed and MANPATH set to man directories. The manual page directories may differ in different unix operating systems and man package may not be installed in all systems .

Unix Tech Tips

  1. Running Solaris  in 32 or 64 bit mode – Page 1
  2. Removing ^M from Unix text files – Page 2
  3. Backup commands – ufsdump , tar , cpio – Page 3
  4. Setting up Ethernet card speed & duplex mode – Page 4
  5. One Line scripts – Page 4

DNS Troubleshooting

DNS troubleshooting , this article describes some of the common dns problems and their solutions.
First phase of article describes dns errors relating to configuration , server setup and its basic functionality . Second phase talks about the nslookup related errors when the dns servers seems to be working correctly but names resolution fail .

Checking and Repairing Unix File system with fsck

fsck is a Unix utility for checking and repairing file system inconsistencies . File system can become inconsistent due to several reasons and the most common is abnormal shutdown due to hardware failure , power failure or switching off the system without proper shutdown. Due to these reasons the superblock in a file system is not updated and has mismatched information relating to system data blocks, free blocks and inodes .