LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   interactive and non-interactive shell (https://www.linuxquestions.org/questions/programming-9/interactive-and-non-interactive-shell-479756/)

linuxjamil 09-02-2006 11:37 AM

interactive and non-interactive shell
 
plz anybody may let me know simply what is


interactive and non-interactive shell

plz

paulsm4 09-02-2006 01:04 PM

Hi -

We'd need more information to answer your question.

In general, "interactive" means you're directly interacting with the computer, vs "non-interactive", "scripted", or "batch" modes, which mean you tell the computer to do something, and then go away while it does it.

As OS can have any number of different "shells". For example, the default command-line shell in Linux is "bash" ... but people often interact with the system via a GUI desktop like KDE or Gnome. These GUI desktops can also be considered "shells".

The Linux bash shell lends itself extremely well to both "interactive" mode (typing in commands in a terminal window) and "batch" mode (writing simple .. or quite elaborate ... shell scripts to automate work).

'Hope that helps .. PSM

PS:
Here's a Wikipedia article that might help clarify a bit further:
http://en.wikipedia.org/wiki/Unix_shell

jlliagre 09-02-2006 01:04 PM

You interact with the former, not with the latter.

edit: pauls4m was faster and gave a definitely more detailed response than mine ;)

linuxjamil 09-03-2006 08:42 PM

interactive amd non-interactive
 
thank u paul

more definition about my question is about---interactive login shell and interactive non-login shell...i thought after postinng my past post it was a little bit mistake..

however i got answer from paulsm and other which is related to my past question...

thank u


All times are GMT -5. The time now is 05:18 AM.