issue188:c_c
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue188:c_c [2023/01/03 10:32] – créée auntiee | issue188:c_c [2023/01/06 14:28] (Version actuelle) – andre_domenech | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | In this issue, I would like to talk about something that will improve your quality of life. As much as manpages help, I am not a neckbeard and I cannot say that I am a fan. It’s one of those things that get forced on you whether you like it or not. However, your Linux journey at home does not need to suffer. | + | **In this issue, I would like to talk about something that will improve your quality of life. As much as manpages help, I am not a neckbeard and I cannot say that I am a fan. It’s one of those things that get forced on you whether you like it or not. However, your Linux journey at home does not need to suffer. |
Enter mcfly (https:// | Enter mcfly (https:// | ||
Ligne 19: | Ligne 19: | ||
tldr -u | tldr -u | ||
- | Once you have done that, you simply type tldr followed by a space and the command you need an example of – if you do not update it, you will not get anything out of it. | + | Once you have done that, you simply type tldr followed by a space and the command you need an example of – if you do not update it, you will not get anything out of it.** |
- | Honestly, this tool has saved me hours! Sometimes, you just want to see an example, and not be bombarded by things nobody uses. It is not perfect, there are still a few commands missing, but what there is, is great! | + | Dans ce numéro, j' |
+ | |||
+ | Entrez dans mcfly (https:// | ||
+ | |||
+ | Commençons par TL;DR : | ||
+ | |||
+ | Installation | ||
+ | |||
+ | Sur la page Web, ils proposent npm, mais la plupart d' | ||
+ | ••Si vous l' | ||
+ | npm install -g tldr | ||
+ | ••Ou vous pouvez simplement utiliser le Python intégré : | ||
+ | pip install tldr-man | ||
+ | ••Les autres, comme moi, tapent simplement | ||
+ | sudo apt install tldr | ||
+ | |||
+ | Maintenant, la toute première chose que vous devez faire, une fois installé, est de mettre à jour cette liste de commandes avec : | ||
+ | |||
+ | tldr -u | ||
+ | |||
+ | Une fois que vous avez fait cela, il vous suffit de taper tldr suivi d'un espace et de la commande dont vous avez besoin d'un exemple - si vous ne mettez pas la liste à jour, vous n' | ||
+ | |||
+ | |||
+ | **Honestly, this tool has saved me hours! Sometimes, you just want to see an example, and not be bombarded by things nobody uses. It is not perfect, there are still a few commands missing, but what there is, is great! | ||
Now let’s move on to mcfly... not Marty. | Now let’s move on to mcfly... not Marty. | ||
Ligne 41: | Ligne 64: | ||
curl -LSfs https:// | curl -LSfs https:// | ||
- | This will grab the latest version and install it for you. | + | This will grab the latest version and install it for you.** |
- | You want to add it to your bashrc, so it is available every time you log in: | + | Honnêtement, |
+ | |||
+ | Passons maintenant à mcfly... pas Marty. [Cf. Retour vers le futur !] | ||
+ | |||
+ | C'est un remplacement complet de CTRL+R. Essentiellement, | ||
+ | |||
+ | Installation | ||
+ | |||
+ | La méthode préférée est via homebrew ou Linuxbrew, avec : | ||
+ | ••brew tap cantino/ | ||
+ | ••brew install mcfly | ||
+ | |||
+ | Cependant, je n' | ||
+ | |||
+ | Cette méthode nécessite un accès root ; aussi, il faut être très prudent ! | ||
+ | |||
+ | sudo -s | ||
+ | |||
+ | curl -LSfs https:// | ||
+ | |||
+ | Cela va récupérer la dernière version et l' | ||
+ | |||
+ | |||
+ | **You want to add it to your bashrc, so it is available every time you log in: | ||
nano ~/.bashrc | nano ~/.bashrc | ||
Ligne 61: | Ligne 107: | ||
mcfly search apt | mcfly search apt | ||
- | Linode has some awesome documentation I can recommend: https:// | + | Linode has some awesome documentation I can recommend: https:// |
+ | Vous devez l' | ||
- | As you can also ‘train’ the mcfly AI. | + | nano ~/.bashrc |
+ | |||
+ | et ajoutez simplement ce qui suit à la fin : | ||
+ | |||
+ | eval " | ||
+ | |||
+ | Sauvegardez et vous pouvez lancer un rafraîchissement en ligne avec : | ||
+ | |||
+ | source ~/.bashrc | ||
+ | |||
+ | Attendez maintenant qu'il se termine. | ||
+ | |||
+ | Essayez-le avec : | ||
+ | |||
+ | mcfly search apt | ||
+ | |||
+ | Linode a une documentation impressionnante que je peux vous recommander : https:// | ||
+ | |||
+ | |||
+ | **As you can also ‘train’ the mcfly AI. | ||
fs, fd: | fs, fd: | ||
Ligne 82: | Ligne 148: | ||
Hopefully you found our short ‘n sweet article useful. | Hopefully you found our short ‘n sweet article useful. | ||
- | What are your favourites? misc@fullcirclemagazine.org | + | What are your favourites? misc@fullcirclemagazine.org** |
+ | |||
+ | De même, vous pouvez également « entraîner » l'IA de mcfly. | ||
+ | |||
+ | fs, fd : | ||
+ | |||
+ | En prime, je veux vous parler de la recherche en ligne de commande. Dans l' | ||
+ | |||
+ | Vous pouvez le trouver ici : https:// | ||
+ | |||
+ | Installation | ||
+ | |||
+ | Téléchargez le fichier .deb et utilisez votre installeur préféré. | ||
+ | |||
+ | Pour l' | ||
+ | |||
+ | Et juste comme ça, vous pouvez rechercher de l' | ||
+ | |||
+ | Nous espérons que cet article, qui était court et sympa, vous a été utile. | ||
+ | |||
+ | Quels sont vos favoris | ||
issue188/c_c.1672738325.txt.gz · Dernière modification : 2023/01/03 10:32 de auntiee