= = != equality and inequality (Vps web hosting) & bitwise
= = != equality and inequality & bitwise AND ^ bitwise XOR (exclusive OR) | bitwise OR && logical AND || logical OR = *= /= %= += -= <<= >= &= ^= |= assignment Table 12-2: Mathematical Operations in expr Operator Description * / % multiplication, division, and modulus (remainder) + - addition and subtraction < <= >= > != = = = Comparison: less than; less than or equal to; greater than or equal to; greater than; not equal to; and two representations of equal to & logical AND | logical OR -eq equal to -ne not equal to -lt less than -le less than or equal to -gt greater than -ge greater than or equal to | logical OR Using programming constructs in shell scripts One of the features that make shell scripts so powerful is their implementation of looping constructs similar to those found in compiled programming languages. You can use several different types of loops, depending on your needs. The for . . . do loop One of the most commonly used loops is the for . . . do loop. It iterates through a list of values, executing the body of the loop for each element in the list. The syntax and examples are presented here: for VAR in LIST do { body } done In the preceding example, the for loop assigns the values in LIST to VAR one at a time. Then for each value, the body in braces between do and done are executed. VAR can be specified by any valid variable name. LIST can be composed of any values that can be defined (numbers, letters, path names, dates, etc.) because each item in the list is treated as a string value in the body of the loop. Any commands can appear in the body. The beginnings of some possible loops are shown here: for SECTION in 1 2 3 4 5 6 7 8 for DIRS in /home /etc /usr /var for DISK in /dev/hda /dev/hdb /dev/sda for PARTITION in a b d e
If you are looking for cheap and quality webhost to host and run your website check Jboss Web Hosting services.