LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-26-2005, 02:06 PM   #1
jcchenz
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
shell interface vs shell scripting? I'm confused


Hi all,
first of all, i do not really understand the concept of shell. I know it is used to accept user commands and executed in a seperate process. I need to write a shell, which has two functions: (1) creating the child process and executing the command in child (2) and modlifying the shell to allow a history feature.

i've done some research on the internet, but it mainly teaches about shell scripting.. but i don't know if this is what i want.. i'm assuming not :P. So how do i create a new shell .. do i call it shell interface?
i'm sort of new to this forum, so if anyone could at least guide me to a site, or best of all give me instructions on how to do this that would be great.!!!

I NEED HELP!! ANYONE

by the way, i am using redhat 2.4.28, so if anyone could give me advice according to this it would be better, because so far, i've tried installing a 2.6.10 kernel into my linux and there is so many problems :'(..

thanks,

JC
 
Old 10-26-2005, 03:32 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
you need to write a shell... ok so that's homework then, and i find it very hard to believe any decent educational course would request work like that to be undertaken without ensuring you have the right resources.

you create a new shell by writing it. pick a language, and use it so that by running your program you are presented with a prompt into which you can run a basic subset of commands like a normal shell like bash etc...

and you're choice of kernel couldn't be more irrelevant here... :-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell Scripting: Getting a pid and killing it via a shell script topcat Programming 15 10-28-2007 02:14 AM
shell got confused with iptables ... ilnli Linux - Security 7 02-12-2005 07:02 AM
shell got confused with iptables ... ilnli Linux - Security 1 02-09-2005 09:10 PM
shell scripting rch Programming 3 06-07-2003 04:10 AM
Shell Scripting - Need some help The Grepper Programming 1 03-29-2002 04:10 PM


All times are GMT -5. The time now is 02:49 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration