 Swordi  $word2   -
 test   ,    -
  :

$ cat ifl

echo -n " 1: "

read wordi

echo -n " 2: "

read word2

if test "$wordl" = "$word2"
then

echo ""
fi
echo " .

$ ifl

 1: 

 2: 



 .

test.    - -
 test "$wordl" = "$word2".  
test   true,    
    , 
 .      true (= 0),  -
    then  fi.    
false (^ 0),      fi,   -
  then  fi.      if  
,    .     
.

 Bourne Again Shell  test  ,    .
      ,    /usr/bin/test. 
        Bourne
Again Shell.    ,   ,  , -
   .        -
        .   -
,  ,       -
.      type:

. 28.1. - -
 i?...then

$ type test cat echo who if

test is a shell builtin     (   )

cat is hashed (/bin/cat)    ( )

echo is a shell builtin     (   )

who is /usr/bin/who

if is a shell keyword       (  )

(  )

       
 man  info,     .    
 ,    " "  7.

868  VI. 

