====
i want to take a string abc from abc.txt then if that string(abc) is present in xyz.txt then output of abc will diplay(Output:test) then the file abc.txt will move to /tmp folder
====
If you want to search abc anywhere in abc.txt and print Ouput: test then,
awk -F"=" '/abc/ { print "Ouput:"$2 }' xyz.txt
mv abc.txt /tmp
hth.
Easy to suggest when don't know about the problem!