#!/bin/bash echo enter string1 read string1 echo enter string2 read string2 if test $string1 != $string2 then echo nomatch else echo match fi