What Do You Use to Debug Linux / UNIX C/C++ Programs?

Posted on in Categories Ask nixCraft, GNU/Open source, Linux, programming, UNIX last updated February 24, 2009

The purpose of a debugger is to allow you to see what is going on inside another program while it executes. It is useful to find out what another program was doing at the moment it crashed. I know most people will recommend GNU gdb, Nemiver, Valgrind or IDE such as Eclipse. I use gdb when it is really required; otherwise I debug the old fashioned way using printf() or cout statements.

What Is a Content Delivery Network (CDN)?

Posted on in Categories Content Delivery Network last updated February 20, 2009

A CDN (also known as content distribution network) is nothing but a group of servers (system of computers) spread across the globe. The main is to optimizing the flow of digital content (such as css, images, JavaScript, video) and speed up web application to end-users. CDN utilizes advanced software, DNS, storage and networking technologies for organizing your data.

Security Through Obscurity: MAC Address Filtering ( Layer 2 Filtering )

Posted on in Categories data center, fedora linux, FreeBSD, Gentoo Linux, GNU/Open source, Hardware, Iptables, Linux, Networking, RedHat/Fedora Linux, Security, Ubuntu Linux, UNIX, Windows, windows vista, Wireless networking last updated February 17, 2009

MAC Filtering (layer 2 address filtering) refers to a security access control methodology whereby the 48-bit address assigned to each network card is used to determine access to the network. Iptables, pf, and IPFW can block a certain MAC address on a network, just like an IP. One can deny or allow from MAC address like 00:1e:2a:47:42:8d using open source firewalls. MAC address filtering is often used to secure LAN or wireless network / devices. Is this technique effective?

Download Debian Linux 5 Lenny ISO / CD / DVD Images

Posted on in Categories Debian Linux, Download of the day, Linux, Linux desktop, Linux distribution last updated February 15, 2009

Debian GNU/Linux version 5.0 has been released ( jump to download ) after 22 months of constant development and available for download in various media format. Debian GNU/Linux is a free operating system which supports a total of twelve processor architectures and includes the KDE, GNOME, Xfce, and LXDE desktop environments. It also features compatibility with the FHS v2.3 and software developed for version 3.2 of the LSB.

Update: There is a newer software of this software available:
Download Debian Linux 7 Lenny ISO / CD / DVD Images

Debunking the "Linux is virus free" Myth

Posted on in Categories Debian Linux, Howto, Linux, Linux desktop, RedHat/Fedora Linux, Security, Shell scripting, Ubuntu Linux, Windows, windows vista last updated February 11, 2009

Is Linux is virus free? The author of foobar blog provides some insight about the same. Linux users can’t just catch a virus by email or downloading malware from the Internet, contrary to “those Windows users”. From the foobar blog post:

Then you save an email attachment under Linux, the execute flag is normally NOT set and thus, the file can’t be executed just by clicking on it. So, no luck?

Why Did You Switch From IE ( Internet Explorer ) ?

Posted on in Categories Ask nixCraft, Linux, Linux desktop, UNIX, Windows, Windows server, windows vista last updated February 11, 2009

I was going though my server logs / Google Analytics settings and found that over 60% users are on MS-Windows. However, each and every month visitors are switching to Firefox or Google browser and so on. So I would like to know your reasons for making switch from IE to another browser. Why did you switch and which browser did you switch to?

How To Tail (View) Multiple Files on UNIX / Linux Console

Posted on in Categories data center, Debian Linux, Download of the day, fedora linux, File system, FreeBSD, Gentoo Linux, GNU/Open source, Howto, Linux, Linux Log Management, Monitoring, package management, RedHat/Fedora Linux, Suse Linux, Sys admin, Tip of the day, UNIX last updated February 9, 2009

The tail command is one of the best tool to view log files in a real time using tail -f /path/to/log.file syntax on a Unix-like systems. The program MultiTail lets you view one or multiple files like the original tail program. The difference is that it creates multiple windows on your console (with ncurses). This is one of those dream come true program for UNIX sys admin job. You can browse through several log files at once and do various operations like search for errors and more.