$!/bin/sh if grep "$1" /etc/passwd 2>/dev/null #Search username at beging of line1 then echo "Pattern found - Job Over" else echo "Pattern not found" fi
grep scripting io-redirection control-flow
control-flow ×1
grep ×1
io-redirection ×1
scripting ×1