Archive for August, 2009

Security PERL

Security PERL
Security perl on your server. Every member cannot run perl on you system.
Read the rest of this entry

Bind bash to a port

a simple perl script to bind bash to a port:
Read the rest of this entry

Q. How do I specify MySQL SQL queries on the UNIX / Linux command line?

A. mysql command line has option to execute the SQL statement and quit. This is also useful for running sql queries from a shell script. Following is the syntax:

Read the rest of this entry

Q. How do I search multiple string using grep command? For example I’d like to search word1, word2, word3 and so on within /path/to/file. How do I force grep to search multiple words?

A. grep command supports regular expression pattern

Read the rest of this entry

Q. How do I Move or migrate user accounts to from old Linux server a new Cent OS Linux server including mails? This new system a fresh installation.

A. You can migrate users from old Linux server to new Linux sever with standard commands such as tar, awk, scp and others. This is also useful if you are using old Linux distribution such as Redhat 9 or Debian 2.x.

Read the rest of this entry