by Himanshu Arora on October 17, 2011
Linking is the final stage of the gcc compilation process.
In the linking process, object files are linked together and all the references to external symbols are resolved, final addresses are assigned to function calls, etc.
In this article we will mainly focus on the following aspects of gcc linking process:
- Object files and how are they linked together
- Code relocations
(more…)
by Ramesh Natarajan on October 10, 2011
This MySQL jumpstart guide will get you running quickly on the basics. This explains how to install MySQL, create a sample database, create a table, insert records into the table, and select records from the table.
(more…)
by SathiyaMoorthy on October 7, 2011
Question: From the uptime command, I know how many days and hours the system is up and running. Is there a easy way to view the exact date and time on when the system was last rebooted? i.e Exactly from what date and time the system has been up and running?
(more…)
by Ramesh Natarajan on October 7, 2011
Question: How do I install CVS server, and create a CVS repository on UNIX / Linux environment to manage my source codes?
Answer: You should really be using subversion or GIT. For some reason, if you still want to install and configure CVS, use the steps explained below.
(more…)
by Himanshu Arora on October 5, 2011
You write a C program, use gcc to compile it, and you get an executable. It is pretty simple. Right?
Have you ever wondered what happens during the compilation process and how the C program gets converted to an executable?
There are four main stages through which a source code passes in order to finally become an executable.
(more…)
by Balakrishnan Mariyappan on September 28, 2011
Parted is a GNU utility, which is used to manipulate the hard disk partitions.
Using parted, you can add, delete, and edit partitions and the file systems located on those partitions. You can also clone partitions.
This article explains 9 practical parted command examples.
(more…)
by Ramesh Natarajan on September 19, 2011
If you are a Linux sysadmin, you might not want others in your IT department, who has physical access to the server, change anything from the GRUB bootloader menu that is displayed during system startup.
GRUB is the 3rd stage in the Linux boot process that we discussed earlier.
GRUB security features allows you to set a password to the grub entries. Once you set a password, you cannot edit any grub entries, or pass arguments to the kernel from the grub command line without entering the password.
It is highly recommended to set GRUB password on any critical production systems as explained in this article.
(more…)
by Ramesh Natarajan on September 14, 2011
htop is just like top, but on steroids.
Once you are used to htop, you’ll never go back to top again.
htop is a ncurses-based process viewer.
You can interact with the htop using mouse. You can scroll vertically to view the full process list, and scroll horizontally to view the full command line of the process.
This article explains 15 essential htop command examples.
(more…)