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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-23-2005, 04:17 AM
|
#1
|
LQ Newbie
Registered: Sep 2005
Posts: 3
Rep:
|
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
|
|
|
10-23-2005, 04:38 AM
|
#2
|
Senior Member
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Rep:
|
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).
|
|
|
10-23-2005, 04:40 AM
|
#3
|
Senior Member
Registered: Aug 2005
Posts: 1,755
Rep:
|
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.
|
|
|
10-23-2005, 04:40 AM
|
#4
|
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,148
|
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
|
|
|
All times are GMT -5. The time now is 12:45 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|