Artificial intelligent assistant

ant command not found when running from the path othe than ant installation directory Actually I have installed Ant in rhel5 environment and set `ANT_HOME` variable in `/etc/profile` which points to `/usr/local/ant/bin` so when I execute command `echo $ANT_HOME` it gives correct path but I get `ant:command not found` when I tried executing it from other directory. I installed it using a tar named `apache-ant-1.7.1-bin.tar.gz` and untared it. I tried the command below `ln -s /usr/local/ant/apache-ant-1.7.1/bin /usr/local/ant/apache-ant-1.7.1/bin/ant ln: creating symbolic link /usr/local/ant/apache-ant-1.7.1/bin/ant' to /usr/local/ant/apache-ant-1.7.1/bin': File exists` but when I run ant it still says command not found

This should make it work:

> export PATH=$PATH:/usr/local/ant/apache-ant-1.7.1/bin

Make sure you update this PATH in your .bash_profile file or in any of the startup scripts under /etc/profile.d

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy a69a923435f677c6172826192d942c1f