Ubuntu – install development , system library functions man pages

Ubuntu – install development , system library functions man pages

Introduction – some one ask me about man pages specially development related man pages, which was not installed on Ubuntu by default. System call and function related man pages are very useful to the programmers. So this article will help you to do this in two steps…. 1] Search man pages – root@arunbagul:~# apt-cache search …

Read More Read More

andLinux – Run Ubuntu inside Windows

andLinux – Run Ubuntu inside Windows

Introduction- andLinux is an Ubuntu system that runs seamlessly in Windows (2000, 2003, XP & Vista). It works only with 32 bit version of Windows. You can run andLinux without installing a virtual machine. andLinux uses CoLinux as its core. CoLinux is a port of the Linux kernel to Windows. CoLinux differs itself from VMWare …

Read More Read More

Want interactive command in non-interactive mode? – use expect !!

Want interactive command in non-interactive mode? – use expect !!

Introduction- Since long time, I was thinking to write post on expect!!. and finally I start writing this post.. I am using expect tool for automation, scheduling and running commands on remote machine by using ssh in non-interactive mode. It’s very useful and handy tool for System admin specially Unix and Linux admin. What is …

Read More Read More

CUPS – Open source printer server

CUPS – Open source printer server

CUPS (Common Unix Printing) system is one of the open source printer server. CUPS provides a portable printing layer for UNIX-based operating systems. It has been developed by Easy Software Products to promote a standard printing solution for all UNIX vendors and users. CUPS provides the System V and Berkeley command-line interfaces. CUPS uses the …

Read More Read More

How to convert shell script in to binary executable

How to convert shell script in to binary executable

Introduction – Some time you want your shell script to be binary executable. You can do this by using the tool called Shell script compiler (shc). shc creates a stripped binary executable version of the shell script specified with -f on the command line. There is no speed increase from using shc. Its main purpose …

Read More Read More

Taking backup on Tape

Taking backup on Tape

#!/bin/bash -x # This script is useful for taking backup on Tape # Tested on CentOS 3.8, CentOS 4.4 # For further info please login http://indianGNU.org or # mail ravi <at> indianGNU.org ##### DECLARE AND INITIALIZE VARIABLES ##### ### File with the full path names ### DATE=`date +%m-%d-%g` LOGDIR=/usr/local/admin/backup BKDIR=/root/backup TAPE1=$BKDIR/tape1 TAPE2=$BKDIR/tape2 TOC1=$LOGDIR/backup.$DATE/toc1 TOC2=$LOGDIR/backup.$DATE/toc2 ERR=$LOGDIR/backup.$DATE/errorlogs …

Read More Read More

Me as a Magneteer!!

Me as a Magneteer!!

I was associated with Magnet for 17 months. It was nice experience working with Magnet.I joined Magnet on 10th OCT, 2006, with around 6/7 months experience in networking and Linux. I learnt a lot during this period in Magnet. I have contributed in all areas related to System, Linux and Security in Magnet Technologies. Mr. …

Read More Read More

Difference between TIMESTAMP DEFAULT, CURRENT_TIMESTAMP, ON UPDATE CURRENT_TIMESTAMP in MYSQL

Difference between TIMESTAMP DEFAULT, CURRENT_TIMESTAMP, ON UPDATE CURRENT_TIMESTAMP in MYSQL

TIMESTAMP DEFAULT :- in this when new row get inserted or existing row get updated that time current timestamp get inserted. CURRENT_TIMESTAMP :- in this when row get inserted that time current timestamp get inserted.no change on update. ON UPDATE CURRENT_TIMESTAMP :- when row get affected that time current timestamp get inserted. Regards Prasanna Shejwal

Asterisk md5secret password problem

Asterisk md5secret password problem

Introduction – After upgrading the Asterisk-1.2 to new Asterisk version 1.4 … The md5secret password option in SIP configuration file was not working with new Asterisk 1.4 version…. We try to sort this problem… and finally we found the solution….. 1] Open Asterisk configuration file ‘ sip.conf ‘ and check your realm name – [root@indianGNU.org:/etc/asterisk# …

Read More Read More