Linux : How to find the installed version JAVA on ubuntu ?

How to test the JAve version on Ubuntu

kartook@K:~$
kartook@K:~$ java -version
java version “1.6.0_18″
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-0ubuntu1)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
kartook@K:~$

Possibly Related Posts:

Linux tool :Fdupes
How ot install Tweetdeck on ubuntu 10.04 64bit
Linux :sun java 6 on lucid lynx
Vmware : How to install Vmware Tools on Backtrack4- Final
Security : JSKY – Free [...]

CIsco : Enable Cisco Password Encryption ?

When setting a password against the console, auxiliary and vty lines on a cisco router, unless password encryption is switched on the passwords will be displayed when viewing the config on the terminal screen

conf t
service password-encryption

To turn it off again

no service password-encryption

Possibly Related Posts:

Linux : How to find the installed version JAVA on ubuntu ?
Linux : [...]

Linux : How to fully block adsense adds on your system

The method uses IPtables to accomplish this

add the following lines to /etc/rc.local

iptables -F
iptables -A INPUT -s googleads.g.doubleclick.net -j DROP
iptables -A INPUT -s pagead2.googlesyndication.com -j DROP
iptables -A INPUT -s ads.google.com -j DROP
exit 0

Thanks : Tux

Possibly Related Posts:

Linux tool :Fdupes
Backtrack : [...]

Mysql :mysqladmin command to change root password

How to : mysqladmin command to change root password
If you have never set a root password for MySQL, the server does not require a password at all for connecting as root. To setup root password for first time, use mysqladmin command at shell prompt as follows:

$ mysqladmin -u root password NEWPASSWORD

However, if you want to change [...]

Linux : How to install recordmydesktop on Fc10

recordMyDesktop is a desktop session recorder for GNU / linux that attempt to be easy to use, yet also effective at it’s primary task.

As such, the program is separated in two parts; a simple command line tool that performs the basic tasks of capturing and encoding and an interface that exposes the program [...]

Server CORE : Use the Sconfig Utility to Install Windows PowerShell on Server Core ?

Server CORE : Use the Sconfig Utility to Install Windows PowerShell on Server Core ?

The Server Configuration utility (Sconfig) provides a text-based menu system that makes it easy to do the following:

* Configure domain or workgroup membership
* Change a server’s name
* Add a local Administrator account
* Configure remote management features
* Configure Windows Update settings
* Download and [...]

Security : How To allow access to AIM, Yahoo, Gtalk and MSN Messenger through Squid Proxy ?

How To allow access to AIM, Yahoo, Gtalk and MSN Messenger through Squid Proxy ?

To proxy and to allow AIM, MSN, Yahoo and GTalk  Instant Messenger traffic via with Squid, change/add the following line in the Squid configuration file

# Allow AIM protocols
acl AIM_ports port 5190 9898 6667
acl AIM_domains dstdomain .oscar.aol.com .blue.aol.com .freenode.net
acl AIM_domains dstdomain .messaging.aol.com .aim.com
acl [...]

Linux : How to set Cron/At Access Control ?

How to set Cron/At Access Control ?

Cron stores it’s enteries in the crontab (cron table) file. This is generally located in your /etc directory. As well, each user on your system can have their own crontab which would be stored in /var/spool/cron/. To edit a users crontab entry, simply log into your system for that particular [...]

linux : FC9 -i386 Error

I did a fresh install of F9. One of the first things that I did after install was run “yum update” to get the latest updates. About half way through, the process got stopped by SELinux. I disabled SE and tried to rerun “yum update”. The update would no longer work however, due to a missing [...]

Linux : How to install Kernel-devel ?

Today  i try to make script for installing the asterisk .facing bit errors on Issues .I searched Google i came to know need to install kernal-devel for my system

If you are running the standard kernel (for example), you can install the kernel-devel package by:

[root@kartook]# yum install kernel-devel

You can use this command to determine the version of [...]