Main index

Introducing UNIX and Linux

More on shells

Simple arithmetic
      Arithmetic expansion
            Operators for arithmetic expansion
      The 'expr' command
Pattern matching
            Examples of patterns
      The case statement
Entering and leaving the shell
More about scripts with options
Symbolic links
Setting up terminals
Conventions used in UNIX file systems


This chapter covers

  • arithmetic expansion, pattern matching and 'case' statements;
  • scripts that require options; and
  • file system conventions.

In this chapter we examine shells in more depth. Much of this chapter is dependent on you being comfortable with the previous chapter, and if you have not yet familiarised yourself with the material in that chapter you are strongly encouraged to return to it.

Copyright © 2002 Mike Joy, Stephen Jarvis and Michael Luck