shell program for demo 1