Linux Command Line Terror! But....Why?
|
|
|
Comments (46)
But....Why?
Some of us spend as much time in a terminal as we do in the gui....
The problem is mainly down to us, its how we teach or fail to teach it.
1) People need some explanation they can relate to about what they are being taught. A useful one is: we are learning to talk to the computer in its own language.
It may not be strictly true, but it makes sense to them. It explains the fact that it works, very quickly, and that its very different from what we are used to. It gives a reason for learning how to do it. You can talk about shells and so on for ever, but this they can relate to.
2) People need to be able to relate the commands to what they are used to. So cd is analogous to opening a folder by clicking on it. Moving up and down in the file structure. Seeing the exact same things as in Nautilus or whatever. You find other analogues for other things.
Once people get their heads around that they are just doing by commands what they can also do by gestures, but in the computers own language, they find the whole thing much more manageable. Lots of awk can be explained in terms of repetitive edit commands. Pipes are just taking one file you've just changed with one app, then taking another app and doing something else with it.
Its a matter of entering the mindset of people who grew up thinking mouse and graphical interfaces. Once you do that, the difficulties diminish greatly.
1) People need some explanation they can relate to about what they are being taught. A useful one is: we are learning to talk to the computer in its own language.
It may not be strictly true, but it makes sense to them. It explains the fact that it works, very quickly, and that its very different from what we are used to. It gives a reason for learning how to do it. You can talk about shells and so on for ever, but this they can relate to.
2) People need to be able to relate the commands to what they are used to. So cd is analogous to opening a folder by clicking on it. Moving up and down in the file structure. Seeing the exact same things as in Nautilus or whatever. You find other analogues for other things.
Once people get their heads around that they are just doing by commands what they can also do by gestures, but in the computers own language, they find the whole thing much more manageable. Lots of awk can be explained in terms of repetitive edit commands. Pipes are just taking one file you've just changed with one app, then taking another app and doing something else with it.
Its a matter of entering the mindset of people who grew up thinking mouse and graphical interfaces. Once you do that, the difficulties diminish greatly.
Since I do support as a hobby, I am continually bombarded with people looking for a GUI to do one thing or another. It's one thing to explain to them that all a GUI is, is something that is bolted on to the CLI interface anyway, and that the GUI may in fact not represent all that may be done with the same command or group of commands via CLI. Lots of people hear that and have their eyes glaze over.
Package managers are the best example of this, I have yet to run into a GUI that is as powerful as the package manager that it is attached to. Since there are also usually more than one GUI option for most package managers, its something that can easily be described as too time consuming to learn all the tricks of all of them.
You can then, carefully and slowly feed them one command at a time to get the to where they wanted to be, or get done what they set out to do. This shows them that CLI is nothing to be feared, but it a powerful way to get more done faster. If you can get them to start using CLI for package management (apt, portage, entropy, urpmi, whatever) then they will slowly start moving in that direction for other tasks as well.
This is how I handle it, and it seems to work well. Start them slow, with something that is pretty much a daily occurance, then you can teach them how to automate parts of it, or script/alias repetitive bits. If you can convince them to just try to handle package management 'the hard way', and take your time with them the first few times through, they will eventually reach the point where they to wondered why they thought that they just had to have a GUI to do something.
Package managers are the best example of this, I have yet to run into a GUI that is as powerful as the package manager that it is attached to. Since there are also usually more than one GUI option for most package managers, its something that can easily be described as too time consuming to learn all the tricks of all of them.
You can then, carefully and slowly feed them one command at a time to get the to where they wanted to be, or get done what they set out to do. This shows them that CLI is nothing to be feared, but it a powerful way to get more done faster. If you can get them to start using CLI for package management (apt, portage, entropy, urpmi, whatever) then they will slowly start moving in that direction for other tasks as well.
This is how I handle it, and it seems to work well. Start them slow, with something that is pretty much a daily occurance, then you can teach them how to automate parts of it, or script/alias repetitive bits. If you can convince them to just try to handle package management 'the hard way', and take your time with them the first few times through, they will eventually reach the point where they to wondered why they thought that they just had to have a GUI to do something.
When it comes to explaining a set of steps to get a task done unambiguously, the CLI is nearly always much easier (as also is following them) -- assuming, of course, there is a CLI available for the task. For example, compare "sudo aptitude install postgresql" to: open package manager, search for postgresql, select, ... with some screenshots to accompany it. And of course, the CLI being referred to is the bash shell with the GNU CL utilities and not the stone age dos command prompt ...
@azerthoth
Looks like I did not refresh the page and kind of repeated your point.
It might be useful for those unfamiliar with CLI to think of it as a command console, a more direct interface to be used as an additional tool rather than as a replacement of GUI.
Looks like I did not refresh the page and kind of repeated your point.
It might be useful for those unfamiliar with CLI to think of it as a command console, a more direct interface to be used as an additional tool rather than as a replacement of GUI.
My Mom made me take typing as a summer school course in high school back when the earth was cooling. I moaned and whinged, but am I ever glad I did. It makes using the cl so fast and convenient. I try to avoid the use of the rodent whenever I can. Besides, I'm old enough to remember when computers didn't have GUIs and the wretched mice.
Quoting:I have yet to run into a GUI that is as powerful as the package manager that it is attached to.
Probably you already did, but it's because that package manager is such a pile of crap.
Still don't remember? It's called Windows.
Anyway, why don't people mind typing in things in Word, while they do mind typing in things in their OS? I never saw someone who was typing a message look for a GUI to type that message.
Probably I'm old fashioned, all my file management happens with coreutils like ls and the like (in bash). However, I did become a bit more modern since using Amarok to transfer mp3's to my portable player (skipped the graphical file manager there!).
Quoting:Anyway, why don't people mind typing in things in Word, while they do mind typing in things in their OS?I know someone who would love to be able to type, period. The stamina in her wrists and elbows is too poor, and it becomes painful after just five minutes.
Quoting:I know someone who would love to be able to type, period.
That's what scares most people, the fact that they can't type, and think they might be called upon to do so. That is also why most people don't use secure passwords, they can't type, and it's so hard just hunting and pecking out really simple passwords that contain only lower case letters, that anything that requires upper and lower case (most people don't even understand the terms), numbers that might include zero (what number is that?) and non alphabetic characters (what are those?)
So the very thought that they might have to type actual words to get the computer to do something throws them into a catatonic panic.
TA, that gets my vote for best and most accurate rant of all time. Almost Hemingway-esque in its spareness and economy, and sharp as a laser scalpel. Bravo! Oh yeah, and ROFL.
Nice distraction, but that is not at all what I said.
She CAN'T TYPE. As in, she is physically unable to use a keyboard of any kind. Typewriter, piano, it makes no difference. There was a time, before her health failed, that she could use both impressively. Now, she is simply angry at anyone and everyone for their total lack of... anything.
Windows has Dragon NaturallySpeaking. Linux does not yet have a similar, platform-centric cross-application voice recognition system. Biometrics? Same thing; not even fingerprint recognition is feasible for a Linux login.
The argument that "typing in M$ Word is just like typing a password in the login screen" falls apart when the keyboard is just another useless PC peripheral.
She CAN'T TYPE. As in, she is physically unable to use a keyboard of any kind. Typewriter, piano, it makes no difference. There was a time, before her health failed, that she could use both impressively. Now, she is simply angry at anyone and everyone for their total lack of... anything.
Windows has Dragon NaturallySpeaking. Linux does not yet have a similar, platform-centric cross-application voice recognition system. Biometrics? Same thing; not even fingerprint recognition is feasible for a Linux login.
The argument that "typing in M$ Word is just like typing a password in the login screen" falls apart when the keyboard is just another useless PC peripheral.
TA hits the nail on the head. I find it incredibly painful to watch most people even try to read their email. You don't need to be a good typist to have a considerable advantage over your peers...you just need to have less fear.
With all consideration to your friend requiring accessibility, gus, she is certainly an exception and certainly not the average user.
With all consideration to your friend requiring accessibility, gus, she is certainly an exception and certainly not the average user.
Quoting:Biometrics? Same thing; not even fingerprint recognition is feasible for a Linux login.
A friend of mine has a laptop with a built-in fingerprint reader. He's been using it to log in since Ubuntu 8.04 came out. Not that it wasn't supported before 8.04 but he bought it around the time 8.04 came out. It works fine.
As for speech recognition, see this: http://en.wikipedia.org/wiki/Linux_speech_recognition_softwa...
It looks like people have had moderate success using Windows apps in VMs or Wine. Also, it mentions that Canonical is interested it fixing this. When they start to throw their weight around, stuff usually happens so lets hope this is the case here as well.
> Windows has Dragon NaturallySpeaking. Linux does not yet have a similar, platform-centric cross-application voice recognition system.
I thought Via Voice was available for Linux. I'll have to do some research.
> Biometrics? Same thing; not even fingerprint recognition is feasible for a Linux login.
TC had a writeup a while ago about using a fingerprint scanner with Linux. Apparently she got it working.
I thought Via Voice was available for Linux. I'll have to do some research.
> Biometrics? Same thing; not even fingerprint recognition is feasible for a Linux login.
TC had a writeup a while ago about using a fingerprint scanner with Linux. Apparently she got it working.
gus3, there aren't any active voice-recognition projects for Linux, which is sad. I guess the world has a greater need for yet another distro spin, dark unreadable window manager theme, and dark unreadable skins for media players. It seems that a combination of voice-controlled and touchscreen would meet the needs of most people who don't want to use a keyboard, for whatever reason. For touchscreen and voice the old GUI or CLI concepts aren't going to apply, it's going to need something different.
> there aren't any active voice-recognition projects for Linux,
Wikipedia concurs, as does a quick Google search. Apparently ViaVoice was only offered for a very limited time. There are numerous projects, but none of them are complete are feature ready. :(
Wikipedia concurs, as does a quick Google search. Apparently ViaVoice was only offered for a very limited time. There are numerous projects, but none of them are complete are feature ready. :(
xena?
9 earlier comments in the full thread.
Mine are named from former pet ferrets, ones that passed away years ago:
I have Adric, Nyssa, and Romana at the moment.
I have Adric, Nyssa, and Romana at the moment.
Thanks, I feel much better about myself now.
Tanelorn, Mouse (a windows machine), Auk (dual boot), Otter (a windows machine), Zebra, and Walrus (a Windows machine). My personal machine is always Tanelorn. We also have an older Freedos based machine not currently in use which we call Dodo.
> My wireless network is called Brachionus.
Ours is The Raven's Roost. since Meredith maintains the website ravendays.org. Our wired network is called Unicorn.
Ours is The Raven's Roost. since Meredith maintains the website ravendays.org. Our wired network is called Unicorn.
"Too big to fly, dodo ugly so dodo must die,
Doggo with fear on its side, can't change, can't change the tide.
Dog baiter, agitator, asking questions, says he wants to know why.
Ain't no reason that money can't buy.
Mink he pretty so mink he must die, must die, must die.
Sun he giving life in his light,
Part of the system,
Friend to man, friend to the trees,
No friend to the snowman.
Where does he go, what does he do?
Does he meet with the mole, the stream, the cloud
And end up at the bottom of the sea..."
Sorry, I couldn't resist. That's what came to mind when I read jdixon's post.
Those are the first section of the lyrics from Dodo/Lurker by Genesis. Lyrics by Phil Collins.
Sorry, I couldn't resist. That's what came to mind when I read jdixon's post.
Those are the first section of the lyrics from Dodo/Lurker by Genesis. Lyrics by Phil Collins.
Mine is called in a way so I'm sure (most) foreigners cannot pronounce it: Ghans.
But hey, I feel ashamed having only 1 physical box (runs both VMWare, wine _and_ kvm&qemu now though). Obviously in the wrong place here at LXer.
BTW is XenA the unprivileged sister of DomU?
But hey, I feel ashamed having only 1 physical box (runs both VMWare, wine _and_ kvm&qemu now though). Obviously in the wrong place here at LXer.
BTW is XenA the unprivileged sister of DomU?
But Hans, you can claim that you are far "greener" than most of us. You've found a way to maximize your hardware's usefulness, rather than just go out and buy more... er, buy new hardware.
$ hostname
zx-spectrum-1
(no, not really, it's an Athlon X2 ;) )
(no, not really, it's an Athlon X2 ;) )
bluto, dday (DB)
flounder, deanwomer (MX, DNS)
otter, boone, niedermeyer (WWW)
stork (JMS)
...there were several more that I forget. It's been a while since I worked on that network...brings back some good memories in more ways than one.
My essid (dd-wrt) is "BigBrother".
...there were several more that I forget. It's been a while since I worked on that network...brings back some good memories in more ways than one.
My essid (dd-wrt) is "BigBrother".
I was war-riding in Silicon Valley one day and found "virus laden network".
gus3: So you clicked on it?
national parks
Click? What's this "click"? iwconfig FTW!
I tried to catch it on stdout, but we were out of range just that quickly. And turning around and going back wasn't an easy option on rails.
I tried to catch it on stdout, but we were out of range just that quickly. And turning around and going back wasn't an easy option on rails.
frodo carries great evil with him. It's my old Micron dual boot with Win98 and zenwalk. I keep it around for the nice soundcard it has to digitize my vinyl collection.
When the micron boots Windows he's billthecat, after the bloom county character who coughs up hairballs all the time (and Bill Gates).
harpo is the HP named after the Marx Bros. character.
manoa is one I built for my sister who lived in the Manoa valley in Hawaii for 12 years
The laptop is celeborn
The wireless essid is "pizza fan" after a line from the Queen song "Bicycle"
My first Linux machine was opus - the penguin from bloom county.
When the micron boots Windows he's billthecat, after the bloom county character who coughs up hairballs all the time (and Bill Gates).
harpo is the HP named after the Marx Bros. character.
manoa is one I built for my sister who lived in the Manoa valley in Hawaii for 12 years
The laptop is celeborn
The wireless essid is "pizza fan" after a line from the Queen song "Bicycle"
My first Linux machine was opus - the penguin from bloom county.
One OS to rule them all, one OS to find(1) them,
One OS to bring them all, and in the darkness bind(2) them.
gus3: The MS Mission Statement?
No, that would be:
"It looks like you are making a Ring! Would you like help?
o Get help making a ring for Dwarves o Get help making a ring for Elves o Get help making a ring for Men [X] Just tell Frodo to mind his own business"
"It looks like you are making a Ring! Would you like help?
o Get help making a ring for Dwarves o Get help making a ring for Elves o Get help making a ring for Men [X] Just tell Frodo to mind his own business"
> Tanalorn
Oh wow, serious flash-back time. THank you.
My systems are named for kids I didn't have, since my wife didn't like the names I thought of by myself. Stephani, Dierdre, Corwin
Gateway was named for function, rather than form. :^)
Oh wow, serious flash-back time. THank you.
My systems are named for kids I didn't have, since my wife didn't like the names I thought of by myself. Stephani, Dierdre, Corwin
Gateway was named for function, rather than form. :^)
Nicola and Tesla (Laptops that connect only via wireless to the network)
Bedantor (a mix of letters from the first names of my wife and kids) the family computer.
OLPC (the gutted and rebuilt now ubuntu file/print/RAS server)
Beast (My main, with no guarantee as to which OS its set to default to at any given time)
Fidget (In process of becoming a media center)
> Oh wow, serious flash-back time. THank you.
In which case you could probably hack my personal machine fairly easily, as you're probably familiar with all of the base passwords. :)
In which case you could probably hack my personal machine fairly easily, as you're probably familiar with all of the base passwords. :)
Post a comment
A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.
Your message:Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help
Sign up and post (it is free) or Log in and post

Those of you using Caldera or some such distro, you know who you are you uber geeks, that command line is very important. With the latest versions of many distros the CL is not much needed.
Ms. Schroder is right to say we should learn to use the CL. Great tool.