Do we have anyway to add a path globally so that each user gets it in $PATH. I want to add path of ANT so that each user doesn't need to add it in his $PATH variable.
Global paths should be set in /etc/profile or /etc/environment, just add this line to /etc/profile:
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
8 months ago