by Ramesh Natarajan
on September 11, 2009
Question: I would like to understand the basics of how to write, compile and execute a C++ program on Linux OS. Can you explain it with a simple example?
Answer: Last week we reviewed how to write C program on Unix OS. In this article, let us review very quickly how to write a basic Hello World C++ program and how to compile *.cc program on Linux or Unix OS.
[continue reading…]
by Ramesh Natarajan
on September 9, 2009
Typically you may open multiple terminals to view tail -f of multiple files as we explained in our previous 10 examples to view unix log files.
For example, if you want to view Apache error_log and access_log at the same time you may do the following in two different terminals.
[continue reading…]
by Ramesh Natarajan
on September 8, 2009
In the Linux world, everything is free including operating system and desktop applications like Open Office. There are also thousands of open source free applications available for Linux.
In the Windows world, everything has a price tag including operating system and desktop applications like Microsoft Word. There are also thousands of commercial applications that you can purchase for additional dollars.
[continue reading…]
by Ramesh Natarajan
on September 4, 2009
Question: I would like to understand the basics of how to write, compile and execute a C program on Linux OS. Can you explain it with a simple example?
Answer: In this article, let us review very quickly how to write a basic Hello World C program and how to compile *.c program on Linux or Unix OS.
[continue reading…]
by Ramesh Natarajan
on September 4, 2009
Question: I’m getting the following error message in my Vim editor. How do I fix this issue?
E319: Sorry, the command is not available in this version: filetype plugin on
[continue reading…]
by Ramesh Natarajan
on September 2, 2009
As part of the contest we conducted recently, we got 130 comments from the geeky readers who choose their favorite system monitoring tools.
Based on this data, the top spot goes to.. drum roll please..
Nagios
If you are new to any of the top 5 tools mentioned here, please read the rest of the article to understand more about them.
[continue reading…]
by Ramesh Natarajan
on August 31, 2009
rsnapshot is an awesome free Linux backup utility to perform rsync backup of both local and remote file system.
This is a series of two articles. In this article, let us review how to install and configure rsnapshot utility to take rsync backup of local file system. In next article, let us review how to setup rsnapshot utility to take rsync backup of remote file system.
[continue reading…]
by Ramesh Natarajan
on August 28, 2009
Question: Vmstat output does not display date and time, which is a pain when trying to store the vmstat output to do some performance analysis.
So, how do I add timestamp to Linux vmstat output ?
Answer: You can display timestamp on every line of the vmstat command output using a simple perl script as shown below.
[continue reading…]