
update-alternatives
List of commands for update-alternatives:
-
update-alternatives:ai:3e48f This command sets PHP 8.0 as the default PHP version for the command line.$ update-alternatives --set php /usr/bin/php8.0try on your machineexplain this command
-
update-alternatives:tldr:00eff update-alternatives: Display all commands and their current selection.$ update-alternatives --get-selectionstry on your machineexplain this command
-
update-alternatives:tldr:06ca3 update-alternatives: Add a symbolic link.$ sudo update-alternatives --install ${path-to-symlink} ${command_name} ${path-to-command_binary} ${priority}try on your machineexplain this command
-
update-alternatives:tldr:15f62 update-alternatives: Remove a symbolic link.$ sudo update-alternatives --remove ${java} ${-opt-java-jdk1-8-0_102-bin-java}try on your machineexplain this command
-
update-alternatives:tldr:244e6 update-alternatives: Display information about a specified command.$ update-alternatives --display ${java}try on your machineexplain this command
-
update-alternatives:tldr:a128b update-alternatives: Configure a symbolic link for `java`.$ sudo update-alternatives --config ${java}try on your machineexplain this command