LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 04: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, 04:38 AM   #2
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
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, 04:40 AM   #3
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
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 04:43 AM.
 
Old 10-23-2005, 04:40 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

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



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

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

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

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
Open Source Consulting | Domain Registration