in reply to How i can use getopt in my script?

Hello all, How i can use getopt in my logic??

That is the part you're supposed to figure out on your own ... what do you want out of getopt?