by Himanshu Arora
on August 8, 2012
While majority of the end-users doesn’t care how Internet works, some of you might be curious to understand the basics of how Internet works.
In this article we will try to peel off the first layer on this topic to understand how Internet works by elaborating the journey of a data packet from its source to destination on the Internet. From this perspective, we’ll try to keep the content of this article fairly basic.
[continue reading…]
by Lakshmanan Ganapathy
on August 6, 2012
Screenshot is an image taken by a computer to capture the visible items on the monitor or any other output devices. There are several ways of taking screenshots in Linux. In this article, we will cover few tools that are used for taking screenshots.
[continue reading…]
by Himanshu Arora
on August 3, 2012
In C language, the life time and scope of a variable is defined by its storage class.
The following are four types of storage class available in C language.
[continue reading…]
by Ramesh Natarajan
on August 1, 2012
Question: I have a disk that is greater than 2TB size. I cannot create a partition on this >2TB disk using fdisk. Can you explain me with an example on how to create a partition on a disk that is larger than 2TB using parted and GPT format?
[continue reading…]
by Himanshu Arora
on July 27, 2012
Re-entrance and thread-safety are two different concepts that can be associated with good programming practices. In this article we will try and understand both the concepts and their differences with the help of some code snippets.
[continue reading…]
by Lakshmanan Ganapathy
on July 25, 2012
nslookup is a network administration tool for querying the Domain Name System (DNS) to obtain domain name or IP address mapping or any other specific DNS record.
It is also used to troubleshoot DNS related problems. This article provides few examples on using the nslookup command.
nslookup can operate on both “Interactive mode” and “Non-Interactive mode”. Interactive mode allows the user to query the DNS-Server about various host, and domains. Non-Interactive mode allows the user to query the information for a host or domain. In this article, all the commands explained are “Non-Interactive mode”.
[continue reading…]
by Himanshu Arora
on July 23, 2012
While debugging a particular problem, sometimes you may have to analyze the protocol traffic going out and coming into your machine. Wireshark is one of the best tool used for this purpose. In this article we will learn how to use Wireshark network protocol analyzer display filter.
[continue reading…]
by Ramesh Natarajan
on July 20, 2012
Question: I created a backup.sh shell script and added it to my crontab to execute it daily. How do I verify whether the backup cron script job ran successfully? Also, I have several echo statements inside my backup.sh shell script. How do I save the output of my script to a log file when it is executed as a cron job?
[continue reading…]