issue65:demandez_au_petit_nouveau
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue65:demandez_au_petit_nouveau [2012/10/06 23:24] – créée andre_domenech | issue65:demandez_au_petit_nouveau [2012/11/13 16:13] (Version actuelle) – auntiee | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | Hi, everyone! Welcome back to Ask the New Guy! If you’re new to Ubuntu, thinking about switching to Linux, or need something explained to you like you’re five, look no further. Send your (simple) questions to me at copil.yanez@gmail.com and I’ll do my best to answer them. | + | **Hi, everyone! Welcome back to Ask the New Guy! If you’re new to Ubuntu, thinking about switching to Linux, or need something explained to you like you’re five, look no further. Send your (simple) questions to me at copil.yanez@gmail.com and I’ll do my best to answer them. |
Today I’m going to answer a question a lot of new users, including myself, ask upon boarding the good ship Ubuntu: | Today I’m going to answer a question a lot of new users, including myself, ask upon boarding the good ship Ubuntu: | ||
Ligne 7: | Ligne 7: | ||
For many of us, the command line is kinda daunting. Oh, who am I kidding, it’s foreboding and scary. | For many of us, the command line is kinda daunting. Oh, who am I kidding, it’s foreboding and scary. | ||
- | 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.** |
- | 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. | + | 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' |
- | 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 | + | Aujourd' |
- | 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. | + | Q : Que diable est une ligne de commande ?! |
+ | |||
+ | La ligne de commande préoccupe beaucoup d' | ||
+ | |||
+ | 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. | ||
+ | |||
+ | 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' | ||
+ | |||
+ | Au fait, qu' | ||
+ | |||
+ | **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. | ||
Try to explain to a reluctant new user how cool the command line is. It’s a little like trying to explain Mutually Assured Destruction to a modern teenager. They can tell it means something to you because your face is all red and that vein on your forehead is about to pop. But as soon as you leave the room, they jump on Twitter: | Try to explain to a reluctant new user how cool the command line is. It’s a little like trying to explain Mutually Assured Destruction to a modern teenager. They can tell it means something to you because your face is all red and that vein on your forehead is about to pop. But as soon as you leave the room, they jump on Twitter: | ||
- | 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 entraîne la deuxième réaction habituelle à la ligne de commande, en dehors de crier au meurtre et de perdre le contrôle de ses intestins. Les nouveaux utilisateurs qui n'ont pas peur de la ligne de commande pensent que c'est, ahhhh ! ennuyeux. | ||
+ | |||
+ | Essayez d' | ||
+ | |||
+ | 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. |
Well, it turns out the command line is not nearly as scary as some think, nor is it the digital equivalent of a Matlock rerun, of interest only to the old timers. | Well, it turns out the command line is not nearly as scary as some think, nor is it the digital equivalent of a Matlock rerun, of interest only to the old timers. | ||
Ligne 25: | Ligne 45: | ||
It’s actually useful to new users and even more so for those who spend a little time getting comfortable with it. | It’s actually useful to new users and even more so for those who spend a little time getting comfortable with it. | ||
- | 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.** |
- | Let’s just say the command line is a place where you type commands. Then, when you press ENTER, stuff happens. | + | 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 effrayante que certains le pensent, ni l' | ||
+ | |||
+ | 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 était question des CLI, de vieilles machines Télex, d'un truc appelé TTY, des coquillages (shells), et puis j'ai remarqué que le dessin Google du jour était Star Trek et, je l' | ||
+ | |||
+ | **Let’s just say the command line is a place where you type commands. Then, when you press ENTER, stuff happens. | ||
Boom. Checkmate, Wikipedia. | Boom. Checkmate, Wikipedia. | ||
Ligne 35: | Ligne 63: | ||
In the same way that the best camera for you isn’t the most expensive one – it’s the one you’ll actually use – the best way to use the command line is in a way that encourages you to keep using it. | In the same way that the best camera for you isn’t the most expensive one – it’s the one you’ll actually use – the best way to use the command line is in a way that encourages you to keep using it. | ||
- | 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.** |
- | Then I decided to try it only on relatively simple or repetitive tasks until I became more comfortable with it. | + | 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 mat, Wikipedia. | ||
+ | |||
+ | 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' | ||
+ | |||
+ | 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. | ||
For example, I use the command line in the same way I use keyboard shortcuts like ctrl-x and ctrl-v. I cut and paste so often, using menus would interrupt my workflow and slow things down. | For example, I use the command line in the same way I use keyboard shortcuts like ctrl-x and ctrl-v. I cut and paste so often, using menus would interrupt my workflow and slow things down. | ||
Ligne 45: | Ligne 83: | ||
Go to your Ubuntu desktop (or whatever flavor Linux you’re running, this should work on most installs). | Go to your Ubuntu desktop (or whatever flavor Linux you’re running, this should work on most installs). | ||
- | Press ctrl-alt-t. You should see something like this. | + | Press ctrl-alt-t. You should see something like this.** |
- | 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. | + | Et alors, j'ai décidé de l' |
+ | |||
+ | Par exemple, j' | ||
+ | |||
+ | Quelle tâche courante pouvez-vous essayer d' | ||
+ | |||
+ | Allez au bureau d' | ||
+ | |||
+ | Appuyez sur ctrl-alt-t. Vous devriez voir quelque chose comme ceci : | ||
+ | |||
+ | **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. | ||
Okay, so what are we looking at? It’s called a terminal window and blah, blah, blah. Who cares? All you need to know for now is that the flashing cursor is where you type your commands. All the gibberish before the cursor doesn’t really matter either. Time enough to explore that stuff later if you’re still interested. For now let’s keep it super simple. | Okay, so what are we looking at? It’s called a terminal window and blah, blah, blah. Who cares? All you need to know for now is that the flashing cursor is where you type your commands. All the gibberish before the cursor doesn’t really matter either. Time enough to explore that stuff later if you’re still interested. For now let’s keep it super simple. | ||
Ligne 61: | Ligne 109: | ||
What happened? | What happened? | ||
- | 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!** |
- | Okay, so you’re thinking, “Wait, that took longer than double-clicking my browser icon or finding it on a menu.” | + | Vous souvenez-vous de lui, le « creeper » (un boulet) ? Ne paniquez pas, j'ai vérifié auprès de ses ex. Il 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, sinon il se croisera les bras et vous regardera fixement (ses ex disent qu'il fait ça parfois aussi, complètement inoffensif). | ||
+ | |||
+ | Donnons-lui quelque chose à faire. Tapez : | ||
+ | |||
+ | firefox | ||
+ | |||
+ | et appuyez sur ENTRÉE. | ||
+ | |||
+ | Que s' | ||
+ | |||
+ | 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, | ||
+ | |||
+ | **Okay, so you’re thinking, “Wait, that took longer than double-clicking my browser icon or finding it on a menu.” | ||
Maybe. But now try this. Close the terminal window. Firefox should close with it. | Maybe. But now try this. Close the terminal window. Firefox should close with it. | ||
Ligne 69: | Ligne 133: | ||
Type ctrl-alt-t again. When the terminal window returns and you get the blinking cursor, press the up arrow key on your keyboard. The word firefox will magically appear! Press ENTER. Firefox is back! You’re a rock star! | Type ctrl-alt-t again. When the terminal window returns and you get the blinking cursor, press the up arrow key on your keyboard. The word firefox will magically appear! Press ENTER. Firefox is back! You’re a rock star! | ||
- | 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.** |
- | 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. | + | D' |
+ | |||
+ | 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 avec son curseur clignotant, appuyez sur la flèche du haut sur votre clavier. Le mot firefox s' | ||
+ | |||
+ | 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. | ||
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 77: | 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 86: | 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.1349558658.txt.gz · Dernière modification : 2012/10/06 23:24 de andre_domenech