Good article on socket programming. Focuses on implementation in Linux but is valid for socket programming in any language.
Complete Article: Five pitfalls of Linux sockets programming
– Suramya
Good article on socket programming. Focuses on implementation in Linux but is valid for socket programming in any language.
Complete Article: Five pitfalls of Linux sockets programming
– Suramya
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
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
There are a lot of different Linux Certifications out there. Here are a few links I have found that help you prepare for them.
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
ilovejackdaniels.com has shared this really neat CSS cheat sheet shown below.
Thanks for shaing guys
CSS Cheat Sheet:
– Suramya
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
Newsforge has a good article that explains how to remove the background from an image using GIMP.
Article: Remove Background from images
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
The following TechRepublic article tells you how to add barcodes to PHP based Webapps using PEAR::Image_Barcode. Check it out here.
– Suramya
Powered by WordPress