LinuxQuestions.org
Register a domain and help support LQ
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 09-15-2003, 06:44 PM   #1
RHlinux9
LQ Newbie
 
Registered: Sep 2003
Posts: 28

Rep: Reputation: 15
i googled but ...


hii all,
yes i googled i always google a lot b4 posting but i didn't get my question answered though i read a lot and i understood a lot
the question is
what is exactly the use of shells ??
is it for multi users to connect at the same time to the system??
if though this means the benefit is to connect remotely ( telnet ,...)???
is this limited to 6 users only ( number of shells i can open ) ????
or 6 shells reflects the number of processes ????

is there any use of it at physical (not remote) access ?????

what is new in shells ?? what is the privillage it gives to linux over other operating systems?????

sorry if i looked naive but i am very new and i can't configure it yet though i read a lot abou it

thanks a lot
 
Old 09-15-2003, 07:11 PM   #2
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Are you sure you googled first? Shells are probably the most commonly discussed issue regarding Linux. Check out the bash programming HOWTO and the bash prompt HOWTO for some information regarding the default Linux shell, bash.

The use of a shell is for practically anything whatsoever. All administrative tasks in Linux can be performed within the shell (or the command-line, more generally). Various shell tools like ls, cat, grep, sed, awk, tr, and lots of others can be combined to create powerful commands that would be extremely difficult and time-consuming to do using a GUI interface (such as, say, "find all files on my computer starting with the letter 'P' which are more than 3 kilobytes in size and which contain the word 'foo' inside them, and copy all of them to the directory 'bar'." Shell scripts make the shell even more powerful.

As for the limits you mention, there are no hard limits that I know of. By default, you most likely get six consoles (which you can switch to with ctrl-alt-F1 through F6). This can be increased if you want to. Of course, you can also open up as many shells as you'd like in X, using xterm, rxvt, or another X terminal emulator.
 
Old 09-15-2003, 07:19 PM   #3
kubicon
Member
 
Registered: Aug 2003
Location: Limbo
Posts: 54

Rep: Reputation: 15
Every new-commer always ask that question. If you came to Linux, it means that you like and want to know more about computers. Otherwise you would have stucked to Windows. You should feel good that you wanna know things. Don't feel bad, none of us were born with a manual, and all of us were (or still are) newbies.

If you used Windows before (98.4513% you probably did) you probably know about DOS. You can go to your start menu and under accessories(I think) you can open a DOS-prompt. A shell is basically an immesly enhanced version of the DOS-prompt. You can do alot more with a Linux prompt, "a shell", that you can do with a DOS-prompt. But, if point and click is so easy, why do you need a window to type commands?

Many programs available in linux don't have a visual version, you have have to execute them using the shell. That way, you can manipulate/view the outcome of the program. Imaging, if you have a program that searches and deletes files, but doesn't have a 'window', how do you know the actual outcome. In this case, you would log onto a shell, execute the command, and some output would be shown on the shell. It is possible not to use the shell, but you would be missing out on alot of little useful programs that don't have a visual version -- a version with a GUI(graphical user interface), for example.

if you ever decide to start learning programming, garantee you will start writing programs that don't have a GU. It's just alot easier to make those. Then, once you master your programming language, let's say C/C++, you might want to move onto creating applications with GUIs.

Quote:
is it for multi users to connect at the same time to the system??
if though this means the benefit is to connect remotely ( telnet ,...)???
is this limited to 6 users only ( number of shells i can open ) ????
or 6 shells reflects the number of processes
Why can you have multiple shells?

So you can do multiple things at once. Maybe you're running a program in a shell and that program its taking over the shell while it's processing. You might then wanna log onto another shell so you can do something else. Think of it like having many windows open. This does not reflect the number of people that can telnet, or ssh into your machine.

Just think of a shell as a Linux (or more precisly Unix) version of a MS-DOS prompt.
 
Old 09-16-2003, 12:28 AM   #4
RHlinux9
LQ Newbie
 
Registered: Sep 2003
Posts: 28

Original Poster
Rep: Reputation: 15
yes i am sure i googled, i never send before googling , but your answers were exactly what i wanted and couldn't get from reading many many many thanks, you were truely helpful
 
  


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
howto change GROUP permissions (have read/googled for hours) arjay Debian 8 08-09-2005 11:40 AM
Trying to fix resolution. I've googled it and beyond, no luck. ImaMadGoat Ubuntu 3 07-06-2005 02:23 AM
MPlayer Gui not working, googled and still no luck: Devboy *BSD 7 08-17-2004 11:31 AM
xmms can't play mp3's (yes, i've already googled it) David_g17 Fedora - Installation 1 05-24-2004 06:31 PM
qmail behind nat - can get mails but can't send * i googled ehpserver Linux - Networking 1 10-22-2003 09:16 PM


All times are GMT -5. The time now is 03:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration