#!/bin/bash for file in /home/irtaza/.ssh/* do if [ "${file}" == "/home/irtaza/.ssh/irtaza_exper_file.txt" ] then searchvar=$(grep -e SourceIP* /home/irt