Best Web Hosting


COUPON CODE:  techpulpdeal



and get $9.94 off on all hosting plans

Search


There are hundreds of cool tips and tricks. Just search the site below.


Browse articles of 2010 | 2009 | 2008



Archive for February, 2009

1 2 »

  • TECHPULP | How to open a popup window upon page load
    In JavaScript, window.open method can be used to open link in a new window. This method can be used to open a new window when a page is opened. However this method of opening a pop-up window will be blocked...
  • TECHPULP | How to open a new window on click of a link using JavaScript
    In JavaScript, window.open method can be used to open link in a new window. This method can used to open a new window by setting JavaScript as target for a link. You might be wondering why do we need to...

  • TECHPULP | How to save a copy in another file in VI
    Typically “:w” is used to save the current file as no file name is given. But with a file name specified, it can be saved to another file or even append to another file. However this is like “Save a...
  • TECHPULP | Auto SSH login using ‘expect’ tool
    The “expect” tool can be used to achieve auto login for interactive commands like telnet, ftp, ssh and others. Automatic login is useful to avoid unnecessary delays in work and also useful in automation. However this method requires your password...

  • TECHPULP | How to encrypt a partition in Linux using cryptsetup tool
    Recent Linux distributions include cryptsetup-luks package installed by default. This package makes disk encryption pretty easy in Linux. You can either choose to encrypt a partition on the disk or create encrypted file system with in a file using loop-back...
  • TECHPULP | Bash script to replace a word or a string in multiple files at once
    There are multiple ways of replacing a word or a string with another in a stream of input. Here, in this article, we use “sed” command.  While the “sed” command operates on one file at a time, the bash script...

  • TECHPULP | How to set up a CVS server in Linux
    Repository Initialization First create a directory to be used as CVS repository and initialize it as shown below. [root@techpulp ~]# mkdir /cvsroot [root@techpulp ~]# chmod 1777 /cvsroot Initialize the repository for the first time [root@techpulp ~]# cvs -d /cvsroot init...
  • TECHPULP | Concurrent Version System (CVS) Quick Guide
    CVS is a heavily used source control system both in open source projects and commercial projects. This article explains frequently used commands by a developer. Set the command-line environment Firstly, before using cvs command, the CVSROOT environment variable should be...

  • TECHPULP | Bash script to delete blank lines from a file
    There are multiple ways of deleting blank lines from a file. This article tells how to use “grep” command to achieve the objective. The “grep” command provides an option “-v” to invert the matching. That means grep finds the lines...
  • TECHPULP | How to take password interactively in a Bash shell script
    If you are not familiar with interactive bash programming, please read this article as well. Typically “read” command is used to prompt the user to respond and read the input from standard input. The “read” command, by default, shows whatever...

1 2 »

  • Best Ever Deal on Earth