linux-trra:/usr/local> $CATALINA_HOME
bash: /home/anisha/openGTS17Nov/apache-tomcat-7.0.32/: is a directory
linux-trra:/usr/local # ln -s $CATALINA_HOME tomcat
linux-trra:/usr/local # file tomcat
tomcat: symbolic link in a loop
linux-trra:/usr/local> ls
apr bin games gts include jdk lib lib64 man OpenGTS_2.4.5 sbin share src tomcat
Why is that tomcat considered a symbolic link in this particular case, and what's the way to solve the issue?
anisha@linux-trra:~/openGTS17Nov/apache-tomcat-7.0.32> ls
bin conf lib LICENSE logs NOTICE RELEASE-NOTES RUNNING.txt temp webapps work
anisha@linux-trra:~/openGTS17Nov/apache-tomcat-7.0.32> file *
bin: directory
conf: directory
lib: directory
LICENSE: ASCII English text, with CRLF line terminators
logs: directory
NOTICE: ASCII English text, with CRLF line terminators
RELEASE-NOTES: ASCII English text, with CRLF line terminators
RUNNING.txt: ASCII English text, with CRLF line terminators
temp: directory
webapps: directory
work: directory
anisha@linux-trra:~/openGTS17Nov/apache-tomcat-7.0.32>

/home/anisha/openGTS17Nov/apache-tomcat-7.0.32symlinks themselves? – Mat Nov 22 '12 at 8:40/home,/home/anisha, ... and/or/usr/localsymlinks. – Mat Nov 22 '12 at 8:58file /home? – user462608 Nov 22 '12 at 9:17