Jump to content

To understand the command line...

  • Please log in to reply
1 reply to this topic

#1 OFFLINE   securitybreach


    CLI Phreak

  • Forum Admins
  • 24,414 posts

Posted 01 October 2012 - 03:05 AM


...you must first understand Unix.
I gave another talk at my local LUG this week. The idea was to set the scene so I could then move onto more useful things like git, perl, javascript, etc.

I wanted to begin by getting everybody comfortable and familiar with the command line. The concept I wanted to put across was that using the CLI is like walking into the film 10 minutes before the end. It doesn't make sense because you don't know what lead up to it.

Imagine knowing nothing about Lord Of The Rings and then only being shown the ending. You'd see Sam & Frodo slogging their way up a mountain with the single goal of throwing a ring into it, for some reason. After almost killing themselves to get there, Frodo announces he's not going to do it after all. Then he vanishes. Then a little hairless freak runs in, floats around excitedly, Frodo reappears, baldie has the ring. He falls into the lava and the ring melts. For some reason, at the exact same time, a massive black tower with a flaming cat's eye on the top falls down; and the ground collapses, swallowing up the huge army of orcs but very conveniently not harming the small army of humans they were facing.

How much of that makes any kind of sense? None, it's nonsense. You can't grasp the meaning of any of these events without knowing the backdrop. And you can't understand why the CLI is the way it is today for the same reason. It was built by some amazingly clever people, and they didn't try and make it as obtuse and hard-to-understand as possible. Quite the contrary, they did their best to make it as sensible and intuitive as possible.

So in order to understand how the CLI is sensible and intuitive, it helps to understand how it got to where it is today. Hence my talk..............

Posted ImagePosted Image
Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#2 OFFLINE   Tushman


    Forum Fiend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,804 posts

Posted 01 October 2012 - 03:26 PM

Long - but defintely worth reading!  I've met a lot of tech nerds who couldn't explain technical stuff worth a darn, lack of social & verbal skills....whatnot.  That guy has an interesting background and you can tell he's passionate about Unix.  Very well written.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users