commande "man" (comme "manuel")

Ici on poste pour tout ce qui a trait à l'installation de sa distribution, de sa maintenance(mises à jour), etc. etc....
patoo45
Messages : 199
Enregistré le : 04 janv. 2021 11:46
Localisation : 45800 - Saint Jean de Braye

Re: commande "man" (comme "manuel")

Message non lu par patoo45 »

Sur mon Linux mint, il n'y a pas d'option de langue :

Code : Tout sélectionner

patrice@MyLinuxMint:~$ man tldr

SYNOPSIS
       tldr [-v|--version] [--update] COMMAND

DESCRIPTION
       tldr - Simplified and community-driven man pages

              tldr Client program

   Available options:
       -h,--help
              Show this help text

       -v,--version
              Show version

       --update
              Update tldr pages

       COMMAND
              name of the command
Avatar du membre
maxoxo
Messages : 245
Enregistré le : 12 févr. 2021 22:37

Re: commande "man" (comme "manuel")

Message non lu par maxoxo »

Et quand tu fais ?

Code : Tout sélectionner

tldr --help


Avec la version 2.0.0 de tldr, j'obtiens.

Code : Tout sélectionner

usage: tldr command [options]

Python command line client for tldr

positional arguments:
  command               command to lookup

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit
  -u, --update_cache    Update the local cache of pages and exit
  -p PLATFORM, --platform PLATFORM
                        Override the operating system [linux, osx, sunos, windows, common]
  -l, --list            List all available commands for operating system
  -s SOURCE, --source SOURCE
                        Override the default page source
  -c, --color           Override color stripping
  -r, --render          Render local markdown files
  -L LANGUAGE, --language LANGUAGE
                        Override the default language
patoo45
Messages : 199
Enregistré le : 04 janv. 2021 11:46
Localisation : 45800 - Saint Jean de Braye

Re: commande "man" (comme "manuel")

Message non lu par patoo45 »

Voici, et je peux te dire que mon système est à jour.

Code : Tout sélectionner

patrice@MyLinuxMint:~$ tldr --help
tldr - Simplified and community-driven man pages

Usage: tldr [-v|--version] [--update] COMMAND
  tldr Client program

Available options:
  -h,--help                Show this help text
  -v,--version             Show version
  --update                 Update tldr pages
  COMMAND                  name of the command
patrice@MyLinuxMint:~$ tldr --version
0.4.0.1
patrice@MyLinuxMint:~$ uname -a
Linux MyLinuxMint 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Je ne comprends pas sur le site de linux mint (https://linuxmint.com/), la version est à 20 et quelques...

Je viens de faire :

Code : Tout sélectionner

patrice@MyLinuxMint:/boot$ mintupgrade check

    Executing 'check'. This will perform the following:

    1 - Your repositories will be switched to point to Linux Mint 20 'Ulyana' and
        any 3rd party repositories will be removed. A backup of your APT sources
        will be written to /home/patrice/Upgrade-Backup-tricia/APT.

    2 - The upgrade will be simulated so impacted packages can be evaluated.

    Your sources will be restored to Linux Mint 19.3 'Tricia' at the end of this command.

    Do you want to continue? [y/n]: y

  + Checking your Linux Mint codename...

------------------------------------------------
!!  ERROR: Your version of Linux Mint is 'Uma'. Only Linux Mint 19.3 'Tricia' can be upgraded to Linux Mint 20 'Ulyana'.
!!  Exiting.
------------------------------------------------

  + Restoring your backed up APT sources...
Eurêka, j'ai la dernière version...
Avatar du membre
maxoxo
Messages : 245
Enregistré le : 12 févr. 2021 22:37

Re: commande "man" (comme "manuel")

Message non lu par maxoxo »

Tu obtiens quoi avec

Code : Tout sélectionner

$ tldr -v
Chez moi ça donne :

Code : Tout sélectionner

tldr 2.0.0 (Client Specification 1.4)
Il est possible que le paquet soit plus à jour sur ma Archlinux que sur ta Mint.

Potentiellement, ce n'est p-e tout simplement pas le même paquet. Sur Archlinux ils utilisent le client python dispo ici : https://github.com/tldr-pages/tldr-python-client
patoo45
Messages : 199
Enregistré le : 04 janv. 2021 11:46
Localisation : 45800 - Saint Jean de Braye

Re: commande "man" (comme "manuel")

Message non lu par patoo45 »

Code : Tout sélectionner

~$ tldr -v
0.4.0.1
On a compris le gros différentiel....
Avatar du membre
Stéphane Ascoët
Messages : 96
Enregistré le : 01 févr. 2021 09:42
Contact :

Re: commande "man" (comme "manuel")

Message non lu par Stéphane Ascoët »

Je préfère la documentation papier au maximum, que je complète si besoin par mes propres notes. J'ai un très important stock de livres et revues couvrant de nombreuses architectures informatiques, surtout sur la période 1992-2012, et je suis preneur permanent pour compléter tout cela :)
--
Bien cordialement, Stephane Ascoet, http://www.fdn.fr/~sascoet/index.htm.

Ancien album photo: http://www.flickr.com/photos/stephaneascoet/
je suis preneur de matériel, objecteur de croissance faucheur volontaire bio-végétalien...
Répondre