Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 09-02-2006, 11:37 AM   #1
Registered: Dec 2005
Distribution: Fedora Core 5, Sun Solaris 8
Posts: 122

Rep: Reputation: 15
Red face interactive and non-interactive shell

plz anybody may let me know simply what is

interactive and non-interactive shell

Old 09-02-2006, 01:04 PM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
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

Here's a Wikipedia article that might help clarify a bit further:
Old 09-02-2006, 01:04 PM   #3
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint
Posts: 9,703

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
You interact with the former, not with the latter.

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

Last edited by jlliagre; 09-02-2006 at 02:18 PM.
Old 09-03-2006, 08:42 PM   #4
Registered: Dec 2005
Distribution: Fedora Core 5, Sun Solaris 8
Posts: 122

Original Poster
Rep: Reputation: 15
Thumbs down 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


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
Making shell scripts interactive using dialog saurabh142857 Programming 2 01-03-2005 11:14 AM
Run interactive program in shell escargot22026 Programming 4 08-14-2004 11:59 PM
[Shell scripting] interactive and crontab pb maxance Programming 4 06-10-2004 12:00 PM
Building an interactive menu in perl for use as a shell jon_k Linux - Software 2 05-16-2004 09:55 PM
Where is the shell interactive for ruby languaje? Manuel Tejada Red Hat 5 02-02-2004 08:30 PM > Forums > Non-*NIX Forums > Programming

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

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