LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-23-2005, 05:17 AM   #1
Anupam Pathak
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Rep: Reputation: 0
Unhappy Difference between Console, Shell, and Command Prompt


Hello all,
I am in a great confusion regarding difference between Console, Shell and Command Prompt. It will be great for me to get the similarities and differences between these three above mentioned terms.
thanx,
Anupam
 
Old 10-23-2005, 05:38 AM   #2
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
Well, it's my understanding, that these are basically refering to the same thing.

A console (or more correctly Konsole is what KDE calls terminal windows). Some will refer to it as a shell, some as command prompt.

Usually a small TV screen type icon on a taskbar.

There are actually different "shells". The most common one appears to be "BASH" , but if you google, you'll find that there are many others.

It will often have something similar to "user@localhost $" which tells you that you're in your user account, generally signified by the $ sign. If you put in the "su" command (no " quotes of course) hit return, then put in your root password, the prompt will change to something similar to the above, but usually ending with the # sign, which tells you that you're in a root environment and can issue commands that only root can normally do (both the $ and # prompts are customisable, but those signs are the ones that are generally used as a default).
 
Old 10-23-2005, 05:40 AM   #3
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 50
Console or terminal is a program that gives you access to a shell typically inside a graphical window with scrollbars. Shell is the program that gives you the prompts and interpretes stuff you type and runs whatever you told it to do. There are many shells (sh, csh, ksh, bash, tcsh, zsh, etc.) with various features. The prompt is the thing the shell prints at the beginning of a new line when it's ready for input.

Last edited by spooon; 10-23-2005 at 05:43 AM.
 
Old 10-23-2005, 05:40 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
The console (or "Terminal") is a text screen where the "shell" (which is usually bash, but can be others, issues a Command Prompt (Usually $ for normal users, and # for the root user) and then listens for input (usually from the keyboard) which it interprets as a command to be executed.

See man bash

HTH
 
  


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
Difference between normal shell and login shell Manish Linux - General 7 11-14-2012 09:30 AM
Command not found error - difference in shell? aw_wolfe Linux - Newbie 6 04-20-2005 05:49 PM
Key stroke/command to shut down x and go into the command prompt screen? Fear58 Linux - General 1 07-14-2004 08:14 PM
Shell coding, multi-command prompt maniac01 Programming 3 03-02-2004 11:48 AM
Whats the difference Linux Console and BASH Shell glenn69 Linux - Newbie 2 08-31-2003 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:58 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration