I'd say that file permission problems are more
common, but it's a close call. File permission
problems are usually easy to understand, once you know what to look
for, but the rules by which a shell interprets your command line are
another thing altogether. Lest I scare you, we'll
try to go slow with this material. Although it's
difficult, understanding how the shell parses your commands is
important to becoming a power user.
In this chapter, we'll look at how a Unix shell
interprets commands. Shells have similar interpretation rules. The C
shell can be tricky at times, mostly because its behavior
isn't as well defined as the others. And
zsh has some twists that others
don't -- they're included by
design, but they can surprise users of other shells. However,
there's nothing
"magical" about these rules.
Tomorrow morning, you may grab some new shell from the Net and find
out that it has a new and different way of interpreting commands. For
better or worse, that's what Unix is all about.
As part of this discussion, we'll cover quoting,
which is the mechanism by which you can turn off the special meanings
that the shell assigns to some characters. Quoting is an integral
part of command-line processing; it allows you to control what the
shell will do to your commands.
--ML and SJC