This is a discussion on How to creat a Shell in C lang within the Shell scripting forums, part of the Development/Scripting category; If anyone know, how to creat a SHELL in c languge, Please contact me through my email. (shauom@yahoo.com ). If ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
| Sponsored Links | ||
|
|
|
||||
|
Creating a shell is not big deal. You can download existing source code of BASH or other shell from internet and study it. Here are download links:
Tutorial: Writing Your Own Shell by Hiran Ramankutty => http://linuxgazette.net/111/ramankutty.html (Includes C source code) Other downloads BASH => http://www.gnu.org/software/bash/ KSH => http://www.research.att.com/~gsf/download/ BTW, please don’t post your email ID. It is not against forum rules but spam bots would use your email id. If you need further help, feel free to post in our forum |
|
|||
|
shanuka, you can download source code:
Code:
wget http://linuxgazette.net/111/misc/ramankutty/listing9.c.txt mv listing9.c.txt myshell.c Code:
gcc myshell.c -o myshell Code:
./myshell [MY_SHELL ] Type the commands: Code:
/bin/ls /bin/date Hope this helps |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to creat new batch | cheecoo | Linux software | 1 | 11-20-2007 09:39 PM |
| writing a shell script to find out my shell name | jaymob123 | Shell scripting | 1 | 10-08-2007 01:36 AM |