-- Leo's gemini proxy

-- Connecting to freeshell.de:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

update-alternatives


> A convenient tool for maintaining symbolic links to determine default commands.

More information.


Add a symbolic link:

sudo update-alternatives --install {path/to/symlink} {command_name} {path/to/command_binary} {priority}

Configure a symbolic link for `java`:

sudo update-alternatives --config {java}

Remove a symbolic link:

sudo update-alternatives --remove {java} {/opt/java/jdk1.8.0_102/bin/java}

Display information about a specified command:

update-alternatives --display {java}

Display all commands and their current selection:

update-alternatives --get-selections


> Copyright © 2014—present the tldr-pages team and contributors.

> This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY



-- Response ended

-- Page fetched on Fri May 17 13:10:48 2024