Regarding user defined shell help me please...urgent!!
I am supposed to build a user defined shell for linux in c code using only system calls. I have a due date on 13-09-13 (i.e tomorrow). I have no idea how to proceed. So please somebody help me.
|
I guess the first step is learn c
I have seen books like "learn c in 21 days" you need a "learn c in less than 12 hours" when were you given the assignment? please see the rules on homework https://www.linuxquestions.org/linux/rules.html Quote:
|
I know C language and a bit familiar with system calls also. But I am not sure what syatem calls should be used and how to use them to create a user defined shell.
|
The main system call you will need for a shell is the fork() function. For a basic example have a look here: http://www.iwt-kdg.be/personeel/Van%...rOwnShell.html
A web search with the keywords "write your own shell" will provide you with dozens of articles about that topic. |
All times are GMT -5. The time now is 05:53 PM. |