≡ Menu

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…]

Linux Tail Command for 2 filesTypically 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…]

Top 5 Best Free Software

Top 5 Free Software for Windows XPIn 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…]

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…]

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…]

Top 5 Best System Monitoring Tools

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…]

How To Backup Local Unix Host Using rsnapshot rsync Utility

Backup and Restore Linux Local Host Using rsnapshotrsnapshot 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…]

How To Add Timestamp to Unix Vmstat Command Output

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…]