ip verication program using bash