find the word “UNIX” in all the files given as an argument on the command line. Your script should search each of this files in turn and stop at the file that it encounters containing the word. The file name should be displayed on the screen.
for i in $* do grep "UNIX" $i>/dev/null if [ $? -eq 0 ] then echo "File name is : $i" exit fi done