Live data from Hacker News

The Command Line Crash Course Controlling Your Computer From The Terminal

learncodethehardway.org

11–20 of 91 posts

Re: The Command Line Crash Course Controlling Your Computer From The Terminal

#12
post #4

I got 1 upvote for anyone that can provide me a pdf of this thing.

http://dl.dropbox.com/u/8605032/cli-crash-course.pdf

git clone git://gitorious.org/the-cli-crash-course/the-cli-crash-course.git

Use dexy with a Tex install and it's a cinch. Only hiccup might be a few specialized Tex packages it complains about needing.

Re: The Command Line Crash Course Controlling Your Computer From The Terminal

#13
post #3

> The next warning is stay off IRC or other places where "hackers" hang out. They think it's funny to hand you commands that can destroy your computer. The command rm -rf / is a classic that you must never type. Just avoid them. If you need help, make sure you get it from someone you trust not from random idiots on the internet. I don't really agree with that. I know for sure that popular channels in OFTC and Freenod…

I have seen on some IRCs people writing 'sudo rm -rf /*" etc. (not as advice, but as a joke,) but that person is always promptly kicked out and everyone in the channel tries to warn others. The author's view is definitely too pessimistic. Most people on IRCs like Freenode aren't evil 'hackers' out to 'hack' you (this reminds me of an episode of Numb3rs.) Other smaller IRC servers can get rowdy, but I've yet to see th…

A few days ago I decided to pick up a bash book from O'reilly and, truth be told, the guys in a room in Freenode knew how to help me in any question I made, no matter how silly I might felt for even asking (specifically I remember asking them about case insensitive shell expanding of wildcards which ended up being a locale issue in my installation).

That doesn't mean that they're all saints, I just find it comforting that there are people out there who will gladly assist a complete stranger (in my case, me).

Re: The Command Line Crash Course Controlling Your Computer From The Terminal

#14

Was talking about going Linux soon, and this'll help me work from Terminal exclusively. Thanks!

You won't regret it! I'm not sure if I could ever stand windows as a main development environment again. POSIX is just a lovely environment to be in. Once you get the hang of it you'll see you become a lot more faster at mundane tasks (even scripting them). Good Luck!

Re: The Command Line Crash Course Controlling Your Computer From The Terminal

#15
I was recently given a small netbook and took the plunge with arch / xmonad and it has been pretty eye opening.. Going from "I need more control over screen brightness", to being able to assign keys that control the display precisely how I want has been frustrating and satisfying in just the right way. Thanks Zed for another great source!

Re: The Command Line Crash Course Controlling Your Computer From The Terminal

#16
post #7

pushd / popd where have you been all my life?! How did I not know this? Thanks Zed!

Related to that... the 'cd' section seems to be missing "cd -" (ATM).

    $ cd /some/really/long/dir
    $ pwd
    /some/really/long/dir
    $ cd ~
    $ pwd
    ~
    $ cd -
    $ pwd
    /some/really/long/dir
I'm pretty sure "cd" and "cd -" are my most used commands. CDPATH ranks pretty important too.

Re: The Command Line Crash Course Controlling Your Computer From The Terminal

#17
post #4

I got 1 upvote for anyone that can provide me a pdf of this thing.

http://dl.dropbox.com/u/8605032/cli-crash-course.pdf git clone git://gitorious.org/the-cli-crash-course/the-cli-crash-course.git Use dexy with a Tex install and it's a cinch. Only hiccup might be a few specialized Tex packages it complains about needing.

I was very psyched to see this, however, I am afraid to tell you that this is missing parts of the text. It is missing the 'Do This/Source Examples' - a vital part of the text for sure. Replace with fixed copy and report back! Thank you kind sir!

Re: The Command Line Crash Course Controlling Your Computer From The Terminal

#18

Was talking about going Linux soon, and this'll help me work from Terminal exclusively. Thanks!

I second dekz's encouragement. I went from windows/eclipse to windows/eclipse + cygwin to linux/eclipse to linux/vim(et. al).

It's worth it. It really is. At some point you will marvel that you ever thought it was a good idea to navigate filesystems with the mouse, or edit text in a non-modal editor.

Re: The Command Line Crash Course Controlling Your Computer From The Terminal

#19
post #17

Earlier quoted context omitted.

http://dl.dropbox.com/u/8605032/cli-crash-course.pdf git clone git://gitorious.org/the-cli-crash-course/the-cli-crash-course.git Use dexy with a Tex install and it's a cinch. Only hiccup might be a few specialized Tex packages it complains about needing.

I was very psyched to see this, however, I am afraid to tell you that this is missing parts of the text. It is missing the 'Do This/Source Examples' - a vital part of the text for sure. Replace with fixed copy and report back! Thank you kind sir!

[deleted]

Re: The Command Line Crash Course Controlling Your Computer From The Terminal

#20
post #17

Earlier quoted context omitted.

http://dl.dropbox.com/u/8605032/cli-crash-course.pdf git clone git://gitorious.org/the-cli-crash-course/the-cli-crash-course.git Use dexy with a Tex install and it's a cinch. Only hiccup might be a few specialized Tex packages it complains about needing.

I was very psyched to see this, however, I am afraid to tell you that this is missing parts of the text. It is missing the 'Do This/Source Examples' - a vital part of the text for sure. Replace with fixed copy and report back! Thank you kind sir!

Hmmm. So it is. Not sure why just yet. I'll give it a shot debugging the Tex. Maybe something in my setup.
Post reply on HN