Path: ...!weretis.net!feeder8.news.weretis.net!news.imp.ch!news.alphanet.ch!alphanet.ch!.POSTED.localhost!not-for-mail From: Marc SCHAEFER Newsgroups: fr.comp.os.linux.configuration Subject: Re: Configuration d'un super PC Linux pour Ghost "Michu" Raider - questions sur le langage de commande Date: Tue, 12 Apr 2022 12:09:43 -0000 (UTC) Organization: Posted through ALPHANET Message-ID: References: <20220410174507.06013648@coffee.novazur.fr> <20220411111453.1ad4d461@coffee.novazur.fr> <62554ecb$0$11579$426a74cc@news.free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 12 Apr 2022 12:09:43 -0000 (UTC) Injection-Info: shakotay.alphanet.ch; posting-host="localhost:127.0.0.1"; logging-data="19349"; mail-complaints-to="usenet@alphanet.ch" User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-18-amd64 (x86_64)) Cancel-Lock: sha256:C4UdKaL/UREtsmMtun3tHJr0tadp33nwFMZFSHWBXzE= Bytes: 2588 Lines: 28 Thierry P wrote: > rename ce n'est pas du perl Ca dépend: schaefer@reliand:~$ update-alternatives --display rename rename - auto mode link best version is /usr/bin/file-rename link currently points to /usr/bin/file-rename link rename is /usr/bin/rename slave rename.1.gz is /usr/share/man/man1/rename.1.gz /usr/bin/file-rename - priority 70 slave rename.1.gz: /usr/share/man/man1/file-rename.1p.gz Ici, c'est du Perl. Les alternatives Debian sont implémentées comme des liens symboliques: schaefer@reliand:~$ ls -la /usr/bin/rename lrwxrwxrwx 1 root root 24 Sep 10 2020 /usr/bin/rename -> /etc/alternatives/rename schaefer@reliand:~$ ls -la /etc/alternatives/rename lrwxrwxrwx 1 root root 20 Sep 10 2020 /etc/alternatives/rename -> /usr/bin/file-rename schaefer@reliand:~$ file /usr/bin/file-rename /usr/bin/file-rename: Perl script text executable Il serait bien d'ailleurs que la manpage suive le même processus, ce qui est indiqué par l'attribut slave ci-dessus.