Originally Posted by Asawari
I want shell script for creating ad-hoc network for resource sharing. Please let me know the answer.
Then answer is for you to write your own scripts.
This isn't the place to come and have people write things for you...if you're having a problem, then post what you've written/done so far, and tell us where you're stuck. Also, you need to post actual details...things like version/distro of Linux, your system configuration, and the script that YOU have written so far.
Otherwise, if you want people to write programs for you, list this job in the LQ Job Marketplace (along with how much you'll PAY to have your work done), and someone will be happy to write it.