what is update-alternatives command in linux and what is the use of it?

while installation of java in Linux there is some usage of update-alternatives command since i am new to Linux environment i want to know what this command does and what is the use of it

>>sudo update-alternatives --install /usr/bin/java java /usr/lib/java/JDk.../bin/java

Leave a Comment