#!/bin/bashs=`cat /usr/share/dict/linux.words`for i in $s;do if [ $1=$i ];then echo "$1在字典中" exit fidone echo "$1不在字典中"