while in shell