0

tee: Direct output to standard output and File

Posted by Joys of Programming on April 25, 2010 in Linux

With linux pipes, you can direct the output of one program as an input to the other. But using pipes, you can only direct the output to another program. But if you wish to direct the output to the standard output as well as to a file, you can still use tee. Take for example, [...]

Tags: , ,

 
0

How to set System Time using NTP?

Posted by Joys of Programming on February 9, 2010 in Linux, Ubuntu

NTP is helpful to synchronize system time of computer over a network. This is very useful if you have multiple computers and you require all the computers to have uniform time. You can start the NTP server in one of the machines and synchronize the time across all the machines using this server. This is [...]

Tags: , , , , ,

 
0

How to install KDE in Ubuntu?

Posted by Joys of Programming on February 9, 2010 in Ubuntu

Ubuntu by default has the GNOME desktop. But if you want to use KDE, you must Install Kubuntu. There are two ways by which you can do this. Replace Ubuntu with Kubuntu. Install Kubuntu within Ubuntu The second option is the best one because you can experiment with both GNOME and KDE. Let’s explore how [...]

Tags: , , , , , , , ,

 
0

How to install apache in Ubuntu?

Posted by Joys of Programming on February 4, 2010 in PHP

Apache can be installed in Linux using source. It can be easily installed in Ubuntu using the following command $ sudo apt-get install apache2 But after installation, you can verify that in the browser. Enter http://localhost/. If everything is fine, the page can be displayed with no connection errors. To start/restart apache $ sudo /etc/init.d/apache2 [...]

Tags: , , , , , , ,

 
0

How to install maven in Linux?

Posted by Joys of Programming on February 3, 2010 in Java

Installing maven in Ubuntu is as simple as executing the following command $ sudo apt-get install maven2 Note that you must be connected to the internet to execute the command

Tags: , , , , ,

 
0

How to install log4cpp from sources?

Posted by Joys of Programming on January 14, 2010 in C/C++

log4cpp is used for logging purposes in C++. To install log4cpp in Linux is as simple as installing some simple packages like liblog4cpp5 and liblog4cpp5-dev. But if you want to install log4cpp from sources, you need to follow the following procedures. Using these steps, you can easily install log4cpp in Mac and Linux (or any [...]

Tags: , , , , , , , ,

 
0

find vs locate: Save your time

Posted by Joys of Programming on January 10, 2010 in C/C++

Both the commands: find and locate serve the same purposes- find file names. Then which one is a better option to search for files. But before moving on to telling the difference, let me tell you how locate command works The working of locate command. locate makes use of a database for its proper execution. [...]

Tags: , , , , , , , ,

Pages: 1 2 Next

Copyright © 2009-2010 Joys of Programming All rights reserved.
Desk Mess Mirrored v1.7.2 theme from BuyNowShop.com.