Hi guys i want to make a project in which i am planning to create a fully functional shell. But i don't know how and where to start from.

Please anybody reply if you have any knowledge regarding this.
Any website ,any starter information will be greatly informatively for us.

Recommended Answers

All 2 Replies

Doing a Google search on Lex and YACC would be a good starting point. They are a lexical analyzer and a parser (YACC = yet another compiler compiler). They'll be helpful to tokenize and use input.

This project has been done tons of time and there is already much existing information on the net and many threads on daniweb that should be helpful.

You can also download the source for linux shells to see what they do. Look at your favorite linux distributor's package collection for zsh, tclsh, bash, csh, sh, etc.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.