Suramya's Blog : Welcome to my crazy life…

September 22, 2005

Introduction to the world of Unix spell casting

Filed under: Interesting Sites,Tutorials — Suramya @ 1:33 AM

Unix for the Beginning Mage is really good book that explains the concept of Unix is a very interesting way. It is available both for free as a PDF file and as a hardcopy version.

Even though I have been working with Linux/Unix systems for a while I enjoyed reading it and a more advanced version of the book is in the works.

In the mean time check out the beginner’s version.

Visit: UnixMages.com

– Suramya

September 5, 2005

Some Perl Tricks

Filed under: Tutorials — Suramya @ 8:52 AM

Installing perl modules can be a pain if you don’t have root access on the server you are installing them. However the creators of Perl did think about this and added a PREFIX switch that we can use to give the module an alternate installation directory. So to install the module in /home/suramya/modules the command we would run is:

perl Makefile.PL PREFIX=/home/suramya/modules

Then we follow the regular installation steps of make, make install.

Once the module is installed we need to tell the Perl scripts where to find the new module, there are a number of ways that we can do this but the one I like is modifying the PERL5LIB enviorment variable. This method has the advantage that we don’t need to modify any of the scripts etc.

The easiest way to modify the variable is to add a line that looks like this to your .profile or .bashrc file:

PERL5LIB=/home/suramya/module:/usr/local/lib/perl/5.6.1:/usr/local/share/perl/5.6.1:
export PERL5LIB

Hope this helps someone.

– Suramya

August 19, 2005

Linux Certification Preparation links

Filed under: Tutorials — Suramya @ 4:06 AM

There are a lot of different Linux Certifications out there. Here are a few links I have found that help you prepare for them.

May 17, 2005

CLI Magic: ldconfig and friends

Filed under: Tutorials — Suramya @ 1:56 PM

Another great article on how to harness the power of the Linux Command Line Interface. In this edition Joe Barr tells us how ldconfig is used.

– Suramya

May 10, 2005

CSS Cheat Sheet

Filed under: Tutorials — Suramya @ 12:41 AM

ilovejackdaniels.com has shared this really neat CSS cheat sheet shown below.

Thanks for shaing guys -)

CSS Cheat Sheet:

– Suramya

May 7, 2005

How to find suid files on a linux system

Filed under: Tutorials — Suramya @ 3:53 AM

The following commands will list all suid files on a linux system:

Method 1:

find / -perm +ugo=s

Method 2:

find / -perm +4000

Method 3:

/usr/bin/find / -type f \( -perm -004000 -o -perm -002000 \) -exec ls -lg {} \; 2>/dev/null >suidfiles.txt

– Suramya

May 5, 2005

Remove Backgrounds from images using GIMP

Filed under: Computer Software,Tech Related,Tutorials — Suramya @ 7:04 PM

Newsforge has a good article that explains how to remove the background from an image using GIMP.

Article: Remove Background from images

How to use Netcat

Filed under: Computer Software,Tech Related,Tutorials — Suramya @ 5:19 AM

Often referred to as the ‘Swiss Army Knife of networking,’ netcat is a tool that administrators can use to read and write TCP or UDP data across the network. In addition, it’s extremely useful for network debugging and testing. This article by Vincent Danen at techrepublic.com covers some of the uses of netcat.

– Suramya

Add barcodes to WebApps

Filed under: Tutorials — Suramya @ 1:08 AM

The following TechRepublic article tells you how to add barcodes to PHP based Webapps using PEAR::Image_Barcode. Check it out here.

– Suramya

May 4, 2005

Debian Sarge Setup instructions

Filed under: Tutorials — Suramya @ 8:49 PM

A lot of people claim that Debian is hard to setup and I somewhat agree with them, Debian can be intimidating to those who are not familiar with linux. Falko Timme decided to make life easier for newcomers to Debian by writing an easy to follow instruction manual to guide newcomers through Debian Sarge installation.

This guide is available here.

– Suramya

« Newer PostsOlder Posts »

Powered by WordPress