Building an own linux/ubuntu shell
I have this project that asks me to Develop my own linux/ubuntu shell that:-
[a command accepting another command as an argument and executes that command] But the problem is i know nothing on how to build my own shell.I have tried to google some but the info i got was not brief enough with my short time deadline of submission.so i was hoping that some one to help me with materials to read??[Display the process statistics and details of background tasks] Tnx |
Is this homework? ....a project for your work?
When you say "develop a shell", do you mean something like BASH (the shell used by most Linux distros)? What programming languages do you know? |
well i am working with C scripting.Yes i am a beginner to this course so i don't know much.Yes a simple C shell using a Vi editor
|
Do you mean the C programming language? (C is not a scripting language---programs have to be compiled). Have you already written C programs?
Have you studied the structure of a typical Linux shell? Have you looked at the source code for any of them? Please give as much context as possible---including a description of what you are already expected to know from the class. |
It appears that micflunu is on to create a shell script --giving problem as creating a SHELL to a newbie is less expected.
So for that matter, micflunu you can start learning the basic on Bash Shell Scripting you can begin from this link. Hope that helps. |
pixellany, i guess it's "programming!". i have the same project with a few hours to go. so any help, ideas will be greatly appreciated. i guess i have to use things like fork(), child processes that am less familiar with at the moment. mainly to implement few functions like, ls, cd, pwd, cat. just if i get the starter code running i think i will find a way to implement these functions. thanks in advance
|
Quote:
Here is a good book that may help you. Hope that helps. Good luck. m.m. |
Thanks, i guess its worth a short. let me see if it can get me started atleast :)
|
All times are GMT -5. The time now is 09:44 AM. |