Ask HN: how did you learn the command line?
21–30 of 59 posts
Re: Ask HN: how did you learn the command line?
#22Re: Ask HN: how did you learn the command line?
#23In 1997, a friend of mine came to visit, installed Debian 2.0 on my 486 with a unsupported Intel i740 videocard, showed me how to log in, 'man -k ' and 'man man', then said "See ya next week, have fun". And I had.
Re: Ask HN: how did you learn the command line?
#24Re: Ask HN: how did you learn the command line?
#25(1) At the terminal, via
man
or apropos
and
(2) online by googling.These are useful when you have a specific task you want to get done, not so much otherwise. Therefore,
(3) Try to do things at the command line that you would normally do via mouse. If you have no idea how, google or 'apropos'. If you learn of a tool and have no idea how to use it, google more or 'man'.
(3a) Do the simple stuff via the CLI--removing and moving files, examining directory contents, et cetera. (Be careful with rm! It will not warn you by default.)
(3b) More complex stuff too--try editing text with a terminal editor. Many people swear by emacs and vim. They have learning curves of their own but they are worth it. Pick one.
(4) Pipes and input redirection. Send the output of one command as the input to another, send the output to a file, etc. This is where your standard Unix shell gets really powerful.
Re: Ask HN: how did you learn the command line?
#26I remember at age five being taught by my dad how to run DOS games. Type 'cd ' and press tab. 'cd' is like clicking on a folder.
It was a bit hard to get out of the station in police quest and only years later did I understand why my dad didn't want to help me to get into this game where a "man" is floating from left to right and you need to answer a question to play.
Re: Ask HN: how did you learn the command line?
#27Years detached from those experiences with the XT, I picked up Linux in the late 90s. It was a bit of a learning curve from DOS. But I picked up some very dated book at the local library about Unix and it kind of set me straight.
The real revolution in my thinking came in 2001, when I was unfortunate enough to buy a motherboard with an ALI 1647 chipset (it's sad that I have brain cells devoted to remembering that model number). That chipset, when combined with an NVIDIA video card, would make X crash and lock up after about 30 minutes of use (before you start bashing on Linux, I'd been told the same thing would happen on Windows with this hardware combination). For six months months I was in denial of this problem. I kept thinking the next BIOS update or the next driver would fix the problem. In the meantime I used nothing but console mode, because it was the only thing that was stable.
Six months or so later I sold the old motherboard, paid my quarter to get myself a "real motherboard" (ok, it was more like USD$200), and got X working again. It was good and all to have a GUI again but one thing I did notice was that my command line skills were much improved.
Re: Ask HN: how did you learn the command line?
#28I came to answer your question and say that when I started computing there was only the command line - there were no windows, effectively no graphics, and the only thing you could do was type commands. But then you ask if there are tutorials, and that I can't help you with. Having said that, I tried this search: http://www.google.co.uk/search?q=command+line+tutorial and I got lots of hits, including these: * http://w…
Besides, VMS had a pretty nice "help" command. Barely had to crack open any of the orange binders in the 10 feet or so shelf of manuals.
(For entertainment purposes only. Do not attempt this at home. Get off my lawn ;-)
Re: Ask HN: how did you learn the command line?
#29Re: Ask HN: how did you learn the command line?
#30Then one day I saw and typed 'man man'
'apropos' was also written on the board that day