Linux - NewbieThis 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.

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.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

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

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).

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.

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.