Thursday, April 4, 2013

Cool Terminal Commands to identify your OS detail

I want get the details about my current Ubunutu OS that has been installed in my machine!
as a result of google search. I found few cool commands!

1) uname -a

This command will retrieve you, full detail of the OS that install in your computer.

Linux vanjikumaran-ThinkPad-T530 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

2) lsb_release -d

This command should give you the the description including the OS name ("Ubuntu" on an Ubuntu system) and the release number.

Description:    Ubuntu 12.10

3) lsb_release -c

This will give you just the codename.

Codename:    quantal

4) lsb_release -r

This will give you just the release number only.

Release:    12.10

5) lsb_release -a

This will provide you full lsb detail.

No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 12.10
Release:    12.10
Codename:    quantal

Monday, April 1, 2013

Create a Web Application project using Maven

This post i will briefly guide you how to create a simple web Application using maven tool.

Since i am using intellij IDEA As IDE, by default the project that i am creating will be created in the "IdeaProjects" directory.

In order to demonstrate this task, i am creating a web app called SampleWebApp.

mvn archetype:create 

As a result of running above given code snippets in the terminal or cmd, you will get bellow directory and file structure. This automated process is reducing the workload of the developer.

Now you can use your IDE to open up the projects and start coding.

for further reading about maven

Installing Maven and Ant in Ubuntu

Configuring Maven or Ant in the Ubuntu is relatively very easy task!

Just a matter of invoking above code code snippets in terminal!

to install Maven

sudo apt-get install maven

for further detail, visit to

to Install Ant

sudo apt-get install ant

for further detail, visit to