front | idx | new | login |
 

Debian alternatives

Commands in Debian, that is.

Example: add /usr/bin/led as an alternative to vi.

$ sudo update-alternatives --install /usr/bin/vi vi /usr/bin/led 1
$ sudo update-alternatives --set vi /usr/bin/led
$ vi --help | head -n 1
Usage: led [flags] [file] ...

#public #note

@aohelin | aoh@github