$ ls -l $(type -path -all java)

The output will likely point to ‘/etc/alternatives/java’.

So find out where that points by issuing ls -l like this:

ls -l /etc/alternatives/java

commandlinefu.com

by David Winterbottom (codeinthehole.com)



Tags: