Following this post http://blog.zwiegnet.com/linux-server/get-centosred-hat-original-system-install-date/ I would like to get the Linux installation date.
Process p = Runtime.getRuntime().exec("rpm -qi basesystem");
Can you tell me how I can execute the command and capture only the installation date as show into the post.
I want to get the complete output and filter the content using Java. And the final result should be something like this for example:
Thu 28 Nov 2013 06:01:06 PM EST