Table of Contents

Linux Commands Cheat Sheet

Linux Command :: update-alternatives

Check

List Entry

update-alternatives --list NAME

Display Entry

update-alternatives --display NAME

Select

update-alternatives --config mta


update-alternatives --all

If you don't want to cahnge, beat the only Enter key.

Entry

update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.8.0/bin/java" 10

Deryte Entry

update-alternatives --remove ruby /usr/bin/ruby1.8





Linux Commands Cheat Sheet