Archive for the ‘Linux’ Category

Different ways to use wget command in Linux

Wget is non-interactive network downloaded meaning all the download operation will run in the background. Therefore you can download any file from the Internet with wget command.
Wget also lets user to download the entire website. The download process start with simple wget command followed by the website URL. Wget supports HTTP, HTTPS and FTP protocol to download file.
Download web pages using wget
For example you want to download the front page of You can simply follow the command
the download start and saved your file in home directory which you can use for later off-line uses. Now lets suppose you have connection problem or the jijokjose server has some problem. Wget try to reconnect to the server 20 times by default. You can limit the reconnection limit by following command
wget -t

Read more »

How to Install JDK 7 on Ubuntu

There are several JDK implementations available for Linux, such as Oracle JDK 7, OpenJDK, Sun JDK 6, IBM JDK and GNU Java Compiler. We shall choose the Oracle JDK 7 (Ubuntu chooses OpenJDK as its default JDK, which is not 100% compatible with Oracle JDK).

Step 1 : Check if JDK has already been Installed
Open a Terminal or press Ctrl + Alt + T and issue this command:
javac -version
If a JDK version number (e.g., "javac 1.7.0_{xx}") appears, JDK has already been installed. You can skip the installation and goto step 3.
Step 2 : Download and Install JDK
Goto JDK (Java SE) download site at
Select "Java SE 7ux" ⇒ JDK ⇒ Download ⇒ "Accept Licence Agreement" ⇒ Select Linux x86 (for 32-bit system) or Linux x64 (for 64-bit system) "tar.gz" package, e.g., "jdk-7ux-linux-i586.tar.gz". The tarball will be stored in folder "~/Downloads", by default.
We shall install JDK under "/usr/lib/jvm". First, create a directory "jvm" under "/usr/lib" (with superuser authority "sudo"). Open a Terminal and issue these commands:
cd /usr/lib
sudo mkdir jvm

Read more »

How to Install NetBeans on Ubuntu

To use NetBeans for Java, PHP programming, you need to first install JDK. Read "How to install JDK on Ubuntu".

Step 1 : Download netbeans
Download NetBeans from Choose platform "Linux (x86/x64)" ⇒ "Java SE". You shall receive a sh file (e.g., "") in "~/Downloads".
Set the downloaded sh file to executable and run the sh file.

Step 2 : Install netbeans
Open a Terminal and type the following commands.
cd ~/Downloads
chmod a+x   // Set to executable for all (a+x)
./                   // Run
Follow the instructions to install NetBeans.

Read more »