Results 1 to 9 of 9
i wanna build a new shell for my linux environment ,i do the kernel compilation and all that but i ve an idea to buil my own shell how do ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-25-2005 #1Just Joined!
- Join Date
- Feb 2005
- Posts
- 27
how to write my own shell
i wanna build a new shell for my linux environment ,i do the kernel compilation and all that but i ve an idea to buil my own shell how do i do that , is there any book or pdf for that so that i ll go in that direction i need study material and guidance if any one have
thanx
recklinux :o
- 09-25-2005 #2Linux Engineer
- Join Date
- Nov 2004
- Location
- Ft. Polk, LA
- Posts
- 796
Re: how to write my own shell
Why create a new shell? There are plenty out there, likely with whatever features you are looking for.
Originally Posted by recklinux
ash
bash
chsh
csh
dash
esh
fosh
ksh
rc
sh
tcsh
zsh
Just to name a few
- 09-26-2005 #3Just Joined!
- Join Date
- Feb 2005
- Posts
- 27
please don't beat around the bush post reply only if you think u know the right answer , i wanna build a new shell if you know somethin just guide me how to build the shell of my own .
thanx
- 09-26-2005 #4Linux User
- Join Date
- Aug 2005
- Location
- Italy
- Posts
- 401
OS course...
If you program, it's rather easy write an own basic shell... I suggest to write it in C, because you need to fork processes.
I've not found any book or how-to, but you can search on any university material: in a Operating System lessons, a basic shell program is a must because it explain how processes are created.
Then, major difficoulties can derive from how many features your shell must have: redirections, jobs management and so on...
Good LuckWhen using Windows, have you ever told "Ehi... do your business?"
Linux user #396597 (http://counter.li.org)
- 09-26-2005 #5Just Joined!
- Join Date
- Feb 2005
- Posts
- 27
hey i said i wanna write my own shell means i atleast know that much of thing , i d done shell programming , i done DD etc so please any good one
thanx
- 09-26-2005 #6Just Joined!
- Join Date
- Jun 2005
- Location
- Canada, Halifax
- Posts
- 86
RTFSC. Everthing you need to know is here:
ftp://ftp.cwru.edu/pub/bash/bash-3.0.tar.gz
- 09-26-2005 #7I had to do this for a project in college. One thing that helped me immensely was looking at the source code for a very tiny shell program, MSH (minishell). Here is a site with a lot of shells and source code for them:
Originally Posted by recklinux
http://www.ibiblio.org/pub/Linux/system/shells/!INDEX.short.htmlRegistered Linux user #270181
TechieMoe's Tech Rants
- 09-27-2005 #8Just Joined!
- Join Date
- Feb 2005
- Posts
- 27
hey thanx techie that msh will work i think , that is really a good source to understand the shell
- 09-27-2005 #9Linux Engineer
- Join Date
- Nov 2004
- Location
- Ft. Polk, LA
- Posts
- 796
This link might be useful
http://linuxgazette.net/111/ramankutty.html


Reply With Quote
