Shell validate