Main index

Introducing UNIX and Linux


More on shells

Overview
Simple arithmetic
      Arithmetic expansion
            Operators for arithmetic expansion
      The 'expr' command
Pattern matching
      Patterns
            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
Summary
Exercises

Operators for arithmetic expansion

+ plus
* times
/ integer division
% integer remainder
== equal to
!= not equal to
> greater than
>= greater than or equal to
< less than
<= less than or equal to

Copyright © 2002 Mike Joy, Stephen Jarvis and Michael Luck