Live data from Hacker News

Miguel de Icaza: Learning Unix

tirania.org

11–20 of 128 posts

Re: Miguel de Icaza: Learning Unix

#12
post #8

I would like to add the Advanced Bash-Scripting Guide ( http://tldp.org/LDP/abs/html/ ) as an incredible resource. It's obviously geared towards scripting but most of what it teaches is extremely useful for working in an interactive shell as well. I had been using linux and bash for years before I read it and I still picked up quite a bit when I finally got around to working through it.

The only thing I don't quite grok is that, as the complexity of a given bash script increases, it moves ever-closer to looking exactly like the well-written-by-90s-standards Perl I remember from when I was just learning Unix.

Given that Perl's about as ubiquitous as bash (and arguably more so, since I literally don't know any mainstream *nix that ships without Perl in the core, and I know several that ship without bash), why not just use Perl in the first place? This is exactly what it was designed to do well, back in the beginning.

Re: Miguel de Icaza: Learning Unix

#13
post #3

Mavis beacon teaches typing.. Seriously?

He sounded pretty serious to me. Do you have a better suggestion? The Mavis Beacon software does a perfectly fine job at teaching touch-typing.

Ktouch is awesome, Free, and in the Deb repo's, maybe others. Simple, effective, nice UI, and you can learn any layout from Qwerty to Colemak.

Re: Miguel de Icaza: Learning Unix

#14
I still have my copy of UNIX for the Impatient I bought in 1997 and I still find myself referring to it occasionally (less so these days, with Internet references being more accessible generally). Quite a thing for that book to stand the test of time so well to still find it recommended -- 1995 edition and all. The C equivalent would probably be Advanced Programming in the UNIX Environment.

Re: Miguel de Icaza: Learning Unix

#15
in a computer lab between pepper canyon and warren college at UCSD in 1991 it was written to type 'man man' and maybe even 'apropos' was written up there on a chalk board. I taught myself unix from the manual. A few years later, I learned perl starting with 'perldoc perldoc'.

Re: Miguel de Icaza: Learning Unix

#16
post #3

Mavis beacon teaches typing.. Seriously?

He sounded pretty serious to me. Do you have a better suggestion? The Mavis Beacon software does a perfectly fine job at teaching touch-typing.

When I forced myself to learn touch-typing with a qwerty keyboard i used gtypist. I found it to be sufficient for its purpose.

The only gripe i had with it was that it required typing two spaces after a period. I found this just plain weird, so I fixed it in the tutorial files.

I guess using a blank keyboard also helped quite a bit..

Re: Miguel de Icaza: Learning Unix

#17

Earlier quoted context omitted.

He sounded pretty serious to me. Do you have a better suggestion? The Mavis Beacon software does a perfectly fine job at teaching touch-typing.

Ktouch is awesome, Free, and in the Deb repo's, maybe others. Simple, effective, nice UI, and you can learn any layout from Qwerty to Colemak.

Like Miguel de Icaza would ever recommend a KDE application. ;)

Re: Miguel de Icaza: Learning Unix

#18
post #8

I would like to add the Advanced Bash-Scripting Guide ( http://tldp.org/LDP/abs/html/ ) as an incredible resource. It's obviously geared towards scripting but most of what it teaches is extremely useful for working in an interactive shell as well. I had been using linux and bash for years before I read it and I still picked up quite a bit when I finally got around to working through it.

Agreed. The string operations alone are, while not sed level awesome, pretty amazing. Also, indirection, in bash, is pretty useful. ${prefix_*} is nice to have around.

Re: Miguel de Icaza: Learning Unix

#20
post #12
post #8

I would like to add the Advanced Bash-Scripting Guide ( http://tldp.org/LDP/abs/html/ ) as an incredible resource. It's obviously geared towards scripting but most of what it teaches is extremely useful for working in an interactive shell as well. I had been using linux and bash for years before I read it and I still picked up quite a bit when I finally got around to working through it.

The only thing I don't quite grok is that, as the complexity of a given bash script increases, it moves ever-closer to looking exactly like the well-written-by-90s-standards Perl I remember from when I was just learning Unix. Given that Perl's about as ubiquitous as bash (and arguably more so, since I literally don't know any mainstream *nix that ships without Perl in the core, and I know several that ship without ba…

Learning the different things you can do with bash scripts, especially the string operations, made me a lot faster at doing batch tasks from the command-line.

For longer-term scripts over a few lines, it's easier to use a powerful language you're comfortable with (maybe one of Perl, Python, Ruby) than to waste time (re)learning shell scripting whenever you need to extend the script.

Post reply on HN