if [ $(grep -i "admin_1" longrunning_edit.csv) -gt 0 ]
then
echo "this is aginity;"
elif [ $(grep -i "admin_2" longrunning_edit.csv) -gt 0 ]
then
echo "this is informatica;"
fi
If you want grep to return the number of lines matching the search expression, you need the -c option
if [ $(grep -ic "admin_1" longrunning_edit.csv) -gt 0 ]
then
echo "this is aginity;"
elif [ $(grep -ic "admin_2" longrunning_edit.csv) -gt 0 ]
then
echo "this is informatica;"
fi