Sunday, November 13, 2005

What's This Blog About, Anyway?

This blog is about using the shell.

The shell is a full-featured command interpreter that's both a command-line and programming language. By "command-line," I mean you can type, interactively, at a prompt and get things done. By "programming language," I mean you can write programs in the same language.

Having something that does both well is a pleasant surprise.

I'll keep blog posts bite-sized, and I'll make the entries for a week relate to one another.

Topics will progress, but I'll try not to make them too interdependent. I'd like you to be able to jump in and out whenever you want, flitting from topic to topic like a butterfly going from flower to flower, sampling whatever attracts your fancy.

Because shells are just programs, there are a lot of shells for Unix, Linux, and other, similar operating systems. In this blog, when I say "shell," I mean a POSIX-conforming shell, which follows the specs laid out in ISO 9945-2.

In other words, not csh or tcsh, not zsh, not the Massey shell, and not even very old versions of /bin/sh. This still leaves a lot of possibilities.

Also, most commands you'll use in the shell are standalone applications. (Unlike other operating systems, most shell commands aren't built in to the command interpreter.) This means shell programs can depend on the underlying operating system.

You need to see real examples, so I'll focus on programming in bash ("the Bourne-again shell") running on Linux.

Ready?

0 Comments:

Post a Comment

<< Home