by LesZedCB · 14y ago · 0 comments
As a result, most people have no concept of how a computer really works. With just the tiniest bit of this knowledge, the command-line would seem much less arcane, and the 'I'm too dumb, this is for you computer people' argument wouldn't really apply.
It's shocking how computing is quite literally the technological advance of the millennium, both for industry and for individuals, and yet we somehow think it's acceptable to leave it up to people to learn about it all on their own, and even then only if they care to.
[command] [parameters]
$ ls
just a one word command. shows you directory contents. easy. not complicated looking. Lets make it harder.
$ ls -a
an option. list contents of directory. but ALL of them. still easy.
building from the ground up is easy. For some reason, people still are scared off. Why? Why are people afraid to learn?
$ls -h
This is what I've seen with most command line tools, but it doesn't work. So then I tried...
$ls --help
The output is
> ls: illegal option -- - > usage: ls [-ABCFGHLOPRSTUWabcdefghiklmnopqrstuwx1] [file ...]
What? I had to google it. Ok so...
$man ls
Oh, cool, a list of the options, finaly. Now, let's see what ls -a does:
> -a Include directory entries whose names begin with a dot (.).
If I were looking for invisible files I'd have absolutely no idea this is the option I need to use.
Now, I completely understand that the power of the command line relies on its consistency, I'm confident that—at some point—I'm going to be able to grasp it's elegance. But, for now, I feel like a foreigner in a new country who just knows a few phrases and struggles greatly to understand what is being said to me. Saying that the command line is easy is like saying that English is easy.
In the same way, searching for "how can I learn to use the command line" gives you a bunch of guides - of varying quality, of course - that explain the basic commands in a clearer way.
Well, right now it's as if we didn't teach English (or, rather, any foreign language) in schools and then somehow 'magically' expected people to pick up the single most important foreign language for communicating in modern life.
No, it's not easy, but the basics are really not hard to learn if started early and kept up consistently. Just like any other skill that we teach in schools.