which javawasn't helping me (much). Google introduced me to
readlinkwhich has an
-foption which basically switches on recursion. So something like
readlink -f `which java`told me what I needed to know. I went a step further and created two aliases in my
~/.bash_aliasesfile (sourced from
~/.bashrc), like so:
alias rle='readlink -e' alias rlf='readlink -f'So
rlf `which java`saves you 7 key presses. All things considered the speed up is probably going to be marginal, but everything helps right?