Anybody please tell me basics of shell scripts
Put shell commands in a script. Execute it.
Now, if you want a more specific answer I think you need to ask a little more specific question.
Go to your local library?
Use the man page?
Google-d it?
RTFM?