Deutsch   English   Français   Italiano  
<87cygeoesb.fsf@nosuchdomain.example.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Keith Thompson <Keith.S.Thompson+u@gmail.com>
Newsgroups: comp.unix.shell
Subject: Re: Soft-links to binaries (was Re: Default PATH setting)
Date: Wed, 22 Jan 2025 10:59:48 -0800
Organization: None to speak of
Lines: 33
Message-ID: <87cygeoesb.fsf@nosuchdomain.example.com>
References: <vm5dei$2c7to$1@dont-email.me> <vm5qc7$ft9$1@reader2.panix.com>
	<vml04v$2ugq2$1@dont-email.me> <vml2ho$30d8f$1@dont-email.me>
	<871pwwwtee.fsf@axel-reichert.de> <vmno2f$3us02$1@dont-email.me>
	<vmrbs0$14n59$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Wed, 22 Jan 2025 19:59:49 +0100 (CET)
Injection-Info: dont-email.me; posting-host="885aae34e8bdbd952cba59055e227383";
	logging-data="1222696"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18S8ylzRYo6YS4mNTt3Hosr"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:3IdQnhMpcBWy6HDkpl3qdM+Y4DM=
	sha1:8q6oIu3s5px12jPlHkMHIj6gxFU=
Bytes: 2337

Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
[...]
> BTW, for something (not) completely different [concerning links]...
>
> There's certainly someone who can explain (beyond versioning) deep
> linking chains like
>
> /usr/bin/vi      -> /etc/alternatives/vi      -> /usr/bin/vim.gnome
> /usr/bin/vim     -> /etc/alternatives/vim     -> /usr/bin/vim.gnome
> /usr/bin/gvim    -> /etc/alternatives/gvim    -> /usr/bin/vim.gnome
> /usr/bin/vimdiff -> /etc/alternatives/vimdiff -> /usr/bin/vim.gnome
> /usr/bin/vim.gnome
> /usr/bin/vim.tiny
> /usr/bin/vimtutor
> /usr/bin/vimdot
>
> or even deeper chains like
>
> /usr/bin/emacs -> /etc/alternatives/emacs -> /usr/bin/emacs22 ->
> /etc/alternatives/emacs22 -> /usr/bin/emacs22-x
>
> (There's a bunch of things in /etc/alternatives, like *.gz and *.so
> items.)
[...]

"man update-alternatives"

It's provided by "dpkg".  If you're curious and you're not on a
Debian-based system, do a web search for "man update-alternatives".

-- 
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */