How to create a unix shell

Hello,

Can somebody help me find tutorials or example for creating a basic unix shell with minimal functionalities.
I am a beginner and want to know about how really the shell works.

Thanks.

Hi,

Can you please expand your sentences? You mean you want to write a shell or shell script.

Here About Shell:

In Unix, Shell is a command interpreter, which takes requests from user and converts them into the kernal language then kernal process the request. output goes back to shell which converts into the user understandable language.

This link would explain much about shell. Ask me if you have any doubts

Regards,
Victory.

Creating a UNIX shell would be a very time consuming task, but here's a link to a PDF document with some explanations.