issue65:demandez_au_petit_nouveau
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
issue65:demandez_au_petit_nouveau [2012/10/24 17:46] – auntiee | issue65:demandez_au_petit_nouveau [2012/11/13 16:13] (Version actuelle) – auntiee | ||
---|---|---|---|
Ligne 9: | Ligne 9: | ||
I mean look at it, just sitting there, staring at you with its one good eye, blinking away. Waiting.** | I mean look at it, just sitting there, staring at you with its one good eye, blinking away. Waiting.** | ||
- | Salut, tout le monde ! Bon retour dans Demandez au petit nouveau ! Si vous découvrez Ubuntu, si vous songez à changer pour Linux ou si vous avez besoin que quelqu' | + | Salut, tout le monde ! Bon retour dans Demandez au petit nouveau ! Si vous découvrez Ubuntu, si vous songez à changer pour Linux ou si vous avez besoin que quelqu' |
- | Aujourd' | + | Aujourd' |
Q : Que diable est une ligne de commande ?! | Q : Que diable est une ligne de commande ?! | ||
- | La ligne de commande préoccupe beaucoup d' | + | La ligne de commande préoccupe beaucoup d' |
- | Vas-y, regardez-la : elle ne fait rien à part vous fixer de son seul œil, qui clignote et clignote encore. Elle est là. Elle t'attend. | + | Allez-y, regardez-la : elle ne fait rien à part vous fixer de son seul œil, qui clignote et clignote encore. Elle est là. Elle vous attend. |
**Even so, you can’t swing a penguin around here without hitting someone going on and on about pipe this and chown that. If the command line is so spooky, why do so many seemingly sane people use it? It’s as if the Linux community is populated by cliche horror movie characters, the kind who hear knife-y type sounds in the basement and go investigate in their Pajama Pants instead of calling the police. | **Even so, you can’t swing a penguin around here without hitting someone going on and on about pipe this and chown that. If the command line is so spooky, why do so many seemingly sane people use it? It’s as if the Linux community is populated by cliche horror movie characters, the kind who hear knife-y type sounds in the basement and go investigate in their Pajama Pants instead of calling the police. | ||
Ligne 23: | Ligne 23: | ||
I mean, what are command line users getting out of the experience (other than re-living their Matthew Broderick War Games fantasies)? After all, Ubuntu is so user-friendly. Need to open a program? Just click a few menus and you’re there. Better yet, under Unity, just type the program’s name and watch icons appear as if by magic and then click the one you want.** | I mean, what are command line users getting out of the experience (other than re-living their Matthew Broderick War Games fantasies)? After all, Ubuntu is so user-friendly. Need to open a program? Just click a few menus and you’re there. Better yet, under Unity, just type the program’s name and watch icons appear as if by magic and then click the one you want.** | ||
- | Malgré tout, il est impossible de lancer un pingouin par ici sans atteindre quelqu' | + | Malgré tout, il est impossible de lancer un pingouin par ici sans atteindre quelqu' |
- | Au fait, qu'est ce que leurs expériences de la ligne de commande apportent aux utilisateurs (outre la possibilité de revivre | + | Au fait, qu'est-ce que leurs expériences de la ligne de commande apportent aux utilisateurs (outre la possibilité de revivre |
**This user-friendliness gives rise to the second most common reaction to the command line besides screaming Bloody Mary and losing bowel control. New users who are not scared of the command line think it’s, well, boooooring. | **This user-friendliness gives rise to the second most common reaction to the command line besides screaming Bloody Mary and losing bowel control. New users who are not scared of the command line think it’s, well, boooooring. | ||
Ligne 33: | Ligne 33: | ||
ZOMG guise, dork parents r dorkz! Dad tried to explain something called Gorbachev & I was all “LAME!” and he was all “M.A.D.!” # | ZOMG guise, dork parents r dorkz! Dad tried to explain something called Gorbachev & I was all “LAME!” and he was all “M.A.D.!” # | ||
- | C'est cette même convivialité qui entraine | + | C'est cette même convivialité qui entraîne |
- | Essayez d' | + | Essayez d' |
- | ZOMG guise, les parents qui sont des pauvres types sont vraiment des pauvre types ! Mon père a essayé de m' | + | ZOMG guise, les parents qui sont des pauvres types sont vraiment des pauvre types ! Mon père a essayé de m' |
**You want to shake them and say “We were scared, son! Duck and cover was a thing!” But, of course, it all just seems so quaint to them. | **You want to shake them and say “We were scared, son! Duck and cover was a thing!” But, of course, it all just seems so quaint to them. | ||
Ligne 47: | Ligne 47: | ||
But let’s back up and start with a definition. On second thought, forget that. I just looked it up and there was talk about CLIs, old teleprinter machines, something called TTY, shells, and then I noticed the Google Doodle was Star Trek and, well, I got distracted.** | But let’s back up and start with a definition. On second thought, forget that. I just looked it up and there was talk about CLIs, old teleprinter machines, something called TTY, shells, and then I noticed the Google Doodle was Star Trek and, well, I got distracted.** | ||
- | Vous avez envie de les secouer et dire « Nous avions peur, fiston ! On nous a appris à baisser la tête et a nous protéger contre des attaques nucléaires ! ». Mais, bien entendu, tout cela ne leur semble que folklorique. | + | Vous avez envie de les secouer et dire : « Nous avions peur, fiston ! On nous a appris à baisser la tête et a nous protéger contre des attaques nucléaires ! » Mais, bien entendu, tout cela ne leur semble que folklorique. |
- | Eh bien, il se trouve que la ligne de commande n'est ni aussi effrayant | + | Eh bien, il se trouve que la ligne de commande n'est ni aussi effrayante |
En fait, c'est utile aux nouveaux utilisateurs et plus encore à ceux qui passent un peu de temps avec pour s'y habituer. | En fait, c'est utile aux nouveaux utilisateurs et plus encore à ceux qui passent un peu de temps avec pour s'y habituer. | ||
- | Mais revenons en arrière et commençons avec une définition. Après plus mûre réflexion, laisse béton. Je viens de vérifier et il a été question des CLI, de vieilles machines Télex, un truc appelé TTY, des coquillages, | + | Mais revenons en arrière et commençons avec une définition. Après plus mûre réflexion, laisse béton. Je viens de vérifier et il était |
**Let’s just say the command line is a place where you type commands. Then, when you press ENTER, stuff happens. | **Let’s just say the command line is a place where you type commands. Then, when you press ENTER, stuff happens. | ||
Ligne 65: | Ligne 65: | ||
When I initially looked into using the command line, it was like dating a spider women: lots of anxiety and a very real fear I might die.** | When I initially looked into using the command line, it was like dating a spider women: lots of anxiety and a very real fear I might die.** | ||
- | On va dire tout simplement que la ligne de commande est un endroit où vous tapez des commandes. Puis, quand vous appuyez sur Entrée, des trucs se passent. | + | On va dire tout simplement que la ligne de commande est un endroit où vous tapez des commandes. Puis, quand vous appuyez sur ENTRÉE, des trucs se passent. |
- | Vlan. Échec et mate, Wikipedia. | + | Vlan. Échec et mat, Wikipedia. |
Ok, alors comment l' | Ok, alors comment l' | ||
- | De la même façon que le meilleur appareil photo pour vous n'est pas le plus cher, mais celui que vous utiliserez avec plaisir, la meilleure façon d' | + | De la même façon que le meilleur appareil photo pour vous n'est pas le plus cher, mais celui que vous utiliserez avec plaisir, la meilleure façon d' |
- | La première fois que je me suis penché sur l' | + | La première fois que je me suis penché sur l' |
**Then I decided to try it only on relatively simple or repetitive tasks until I became more comfortable with it. | **Then I decided to try it only on relatively simple or repetitive tasks until I became more comfortable with it. | ||
Ligne 89: | Ligne 89: | ||
Par exemple, j' | Par exemple, j' | ||
- | Quelle tâche courante pouvez-vous essayer d' | + | Quelle tâche courante pouvez-vous essayer d' |
Allez au bureau d' | Allez au bureau d' | ||
- | Appuyez sur ctrl-alt-t. Vous devrez | + | Appuyez sur ctrl-alt-t. Vous devriez |
**Remember him, the creeper? Don’t panic, I went back and checked with his exes. Turns out he’s not a creeper, he’s just shy around people. | **Remember him, the creeper? Don’t panic, I went back and checked with his exes. Turns out he’s not a creeper, he’s just shy around people. | ||
Ligne 111: | Ligne 111: | ||
If a Firefox browser window opened, pat yourself on the back and buy yourself that pair of suede peek-a-boo toe Louboutins you’ve always wanted. You’re a command line user now, time to reward yourself!** | If a Firefox browser window opened, pat yourself on the back and buy yourself that pair of suede peek-a-boo toe Louboutins you’ve always wanted. You’re a command line user now, time to reward yourself!** | ||
- | Vous souvenez-vous de lui, le raseur de murs ? Ne paniquez pas, j'ai vérifié auprès de ses ex. Il s' | + | Vous souvenez-vous de lui, le « creeper » (un boulet) |
- | OK, que regardons-nous ? Ça s' | + | OK, que voyons-nous ? Ça s' |
- | Bon, il y a une fenêtre comme celle ci-dessus et le curseur clignotant vous demande avec insistance de faire quelque chose, | + | Bon, il y a une fenêtre comme celle ci-dessus et le curseur clignotant vous demande avec insistance de faire quelque chose, |
Donnons-lui quelque chose à faire. Tapez : | Donnons-lui quelque chose à faire. Tapez : | ||
Ligne 123: | Ligne 123: | ||
et appuyez sur ENTRÉE. | et appuyez sur ENTRÉE. | ||
- | Qu'est-ce qui s' | + | Que s'est-il passé ? |
Si une fenêtre du navigateur Firefox s'est ouverte, félicitez-vous et achetez la paire de Louboutins en daim, avec le bout fantaisiste, | Si une fenêtre du navigateur Firefox s'est ouverte, félicitez-vous et achetez la paire de Louboutins en daim, avec le bout fantaisiste, | ||
Ligne 135: | Ligne 135: | ||
The command line remembers what you did last. So, even long strings of commands can be called up instantly and run without ever taking your fingers off the keyboard.** | The command line remembers what you did last. So, even long strings of commands can be called up instantly and run without ever taking your fingers off the keyboard.** | ||
- | D' | + | D' |
Peut-être. Mais maintenant essayez ceci. Fermez la fenêtre du terminal. Firefox devrait se fermer en même temps. | Peut-être. Mais maintenant essayez ceci. Fermez la fenêtre du terminal. Firefox devrait se fermer en même temps. | ||
- | Tapez à nouveau ctrl-alt-t. Quand la fenêtre du terminal réapparaît | + | Tapez à nouveau ctrl-alt-t. Quand la fenêtre du terminal réapparaît |
- | La ligne de commande se souvient de ce que vous avez fait en dernier. Ainsi, même de longues chaînes de commandes peuvent être appelées et lancées sans que vous ayez à enlever vos doigts du clavier. | + | La ligne de commande se souvient de la dernière chose que vous avez faite. Ainsi, même de longues chaînes de commandes peuvent être appelées et lancées sans que vous ayez à enlever vos doigts du clavier. |
- | Admittedly, this is a very simplistic example. You can experiment with other commands like ls (lists the contents of the directory you’re in) or cd filename (switches you to the directory you specify). When you decide you want to try something at the command line (like download and install a program), just type what you want to do into a search engine and you’ll typically find a tutorial to help. Or send me an email and I’ll help if I can. | + | **Admittedly, this is a very simplistic example. You can experiment with other commands like ls (lists the contents of the directory you’re in) or cd filename (switches you to the directory you specify). When you decide you want to try something at the command line (like download and install a program), just type what you want to do into a search engine and you’ll typically find a tutorial to help. Or send me an email and I’ll help if I can. |
The point is, start with things that are useful to you and that are within your comfort zone, and then move to more complex commands as you gain confidence. | The point is, start with things that are useful to you and that are within your comfort zone, and then move to more complex commands as you gain confidence. | ||
Ligne 149: | Ligne 149: | ||
Think of the command line as the $107,000 Nissan GT-R sports car we all get with every Ubuntu install (if you haven’t received your car yet, get in touch with Mark Shuttleworth right away). It’s incredibly powerful, somewhat dangerous if used incorrectly, | Think of the command line as the $107,000 Nissan GT-R sports car we all get with every Ubuntu install (if you haven’t received your car yet, get in touch with Mark Shuttleworth right away). It’s incredibly powerful, somewhat dangerous if used incorrectly, | ||
- | Once you feel more comfortable you can switch the toggle to STUPID FAST and floor the accelerator! | + | Once you feel more comfortable you can switch the toggle to STUPID FAST and floor the accelerator! |
- | Look, I’m not proselytizing here. I’ll be the first to tell you to stay away from the command line if it just doesn’t add value to your computing experience, or, worse yet, sours you on Ubuntu or Linux. But, sometimes fear or misperception keeps us from learning simple, useful commands. Start with these and you’re more likely to keep using the command line in the future. | + | Je suis d' |
+ | |||
+ | Il s'agit de commencer avec des trucs qui vous seront utiles et avec lesquels vous vous sentirez à l'aise et, ensuite, lorsque vous aurez acquis plus de confiance, d' | ||
+ | |||
+ | Imaginez la ligne de commande comme la Nissan GT-R sport de $107 000 que nous recevons tous chaque fois que nous installons Ubuntu (si vous n'avez pas encore reçu votre voiture, contactez Mark Shuttleworth tout de suite). C'est incroyablement puissant, un peu dangereux si vous l' | ||
+ | |||
+ | Une fois que vous vous sentirez plus à l' | ||
+ | |||
+ | **Look, I’m not proselytizing here. I’ll be the first to tell you to stay away from the command line if it just doesn’t add value to your computing experience, or, worse yet, sours you on Ubuntu or Linux. But, sometimes fear or misperception keeps us from learning simple, useful commands. Start with these and you’re more likely to keep using the command line in the future. | ||
I hope this has encouraged you to take a plunge into the command line if you haven’t experienced it already. Very soon you’ll be piping and chowning like a boss!* | I hope this has encouraged you to take a plunge into the command line if you haven’t experienced it already. Very soon you’ll be piping and chowning like a boss!* | ||
Ligne 158: | Ligne 166: | ||
* I have no idea what pipe and chown do but they sound mildly pornographic so I’m willing to give them a try. | * I have no idea what pipe and chown do but they sound mildly pornographic so I’m willing to give them a try. | ||
- | If you have a simple question and want an answer that doesn’t look like a nuclear reactor schematic, contact me at copil.yanez@gmail.com. | + | If you have a simple question and want an answer that doesn’t look like a nuclear reactor schematic, contact me at copil.yanez@gmail.com.** |
+ | |||
+ | Ce n'est pas que je sois en train de faire du prosélytisme ici. Je serai le premier mec à vous dire de rester éloigné de la ligne de commande si elle ne fait rien pour améliorer votre expérience informatique ou, pire encore, si à cause d'elle vous voulez abandonner Ubuntu ou Linux à tout jamais. Mais, parfois, la peur ou les erreurs d' | ||
+ | |||
+ | J' | ||
+ | |||
+ | |||
+ | * Je n'ai aucune idée de ce que font les pipes et les chowns, mais comme ils ont l'air un peu pornos, je veux bien les essayer. | ||
+ | |||
+ | Si vous avez une question simple et cherchez une réponse qui ne ressemble pas au plan d'une centrale nucléaire, écrivez-moi à copil.yanez@gmail.com |
issue65/demandez_au_petit_nouveau.1351093598.txt.gz · Dernière modification : 2012/10/24 17:46 de auntiee