The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How do I rename a bunch of files at once? bbbngowc UNIX for Dummies Questions & Answers 8 04-21-2008 10:23 AM
batch file--bunch of commands alfredo123 Windows & DOS: Issues & Discussions 3 07-18-2007 12:05 PM
Renaming a bunch of files Prashanth.m Shell Programming and Scripting 2 09-21-2005 02:16 AM
what a bunch of idiots... norsk hedensk News, Links, Events and Announcements 1 01-15-2004 11:45 PM
grep'ing for text within a bunch of files...? kitykity UNIX for Dummies Questions & Answers 1 09-19-2000 09:50 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-28-2007
Legend986 Legend986 is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 171
Bunch of questions...

1. If Shell is something that handles the commands, what is the Operating System them? What does that do actually? Bridge the Shell and the Hardware or Instruction Set together?

2. One of the commands that I'm curious about is the "which" command. I want to know what is exactly written inside it. How will I know that?

3. I've just read that Windows Explorer is the Shell for most Windows OSes. Does Vista have the same shell too?

4. If both Linux and Windows were built on Unix, what is it that differentiates them the most? Why are only a few unix commands retained in Windows?

5. If Windows Explorer is a shell, then what is a Kernel?
  #2 (permalink)  
Old 09-28-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
Quote:
Originally Posted by Legend986 View Post
1. If Shell is something that handles the commands, what is the Operating System them? What does that do actually? Bridge the Shell and the Hardware or Instruction Set together?
The shell is a command interpretor and can also be used as a human interface.

Quote:
Originally Posted by Legend986 View Post
2. One of the commands that I'm curious about is the "which" command. I want to know what is exactly written inside it. How will I know that?
Depends on who wrote the version used on your operating system. which is just another UNIX user program.

Quote:
Originally Posted by Legend986 View Post
3. I've just read that Windows Explorer is the Shell for most Windows OSes. Does Vista have the same shell too?
Not for Windows 1 through 3.11 or NT 3.1 to 3.51.

Vista will have a similar shell, however we are led to believe Vista was a rewrite from the bottom up as the code became too complicated.

Quote:
Originally Posted by Legend986 View Post
4. If both Linux and Windows were built on Unix, what is it that differentiates them the most? Why are only a few unix commands retained in Windows?
Neither were built on UNIX. Linux is just the kernel at the heart of GNU/Linux distributions, Microsoft did sell Xenix for a while but Windows was originally a graphical DOS extender.

Quote:
Originally Posted by Legend986 View Post
5. If Windows Explorer is a shell, then what is a Kernel?
As in if a Granny Smith was an apple, then what is an orange?
  #3 (permalink)  
Old 09-28-2007
Legend986 Legend986 is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 171
First of all thanks for your patience. I'm the same one who asked you for some Unix books

[QUOTE=porter;302138113]The shell is a command interpretor and can also be used as a human interface.
I didn't understand that. I read what a shell is. What is there inside the OS? As I wrote above, is it some bridge or something?


Quote:
Originally Posted by porter View Post
Depends on who wrote the version used on your operating system. which is just another UNIX user program.
Assuming its Linux or something. Assume its the most frequently used version or shell.


Quote:
Originally Posted by porter View Post
Not for Windows 1 through 3.11 or NT 3.1 to 3.51.
Yeah, thats why I said "most" :P

Quote:
Originally Posted by porter View Post
Vista will have a similar shell, however we are led to believe Vista was a rewrite from the bottom up as the code became too complicated.
Oh.. Great... Thanks for that...


Quote:
Originally Posted by porter View Post
Neither were built on UNIX. Linux is just the kernel at the heart of GNU/Linux distributions, Microsoft did sell Xenix for a while but Windows was originally a graphical DOS extender.
Another thanks... So was DOS built from scratch?

Quote:
Originally Posted by porter View Post
As in if a Granny Smith was an apple, then what is an orange?
You'd hate for this, but I didn't understand that... No not your example, but the answer to my question :P
  #4 (permalink)  
Old 09-28-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
1. I wouldn't call a shell "a bridge", it's more a translator/interpretor/UI.

2. The most used shell would have to be "/bin/sh" as that is what *most* shell scripts have as the first line and is the most portable form for scripting.

3. Windows ME was the last Windows to sit on DOS. DOS was originally "QDOS" bought by Microsoft and became "PCDOS" and "MSDOS". NT starting at NT 3.1 was a totally new line built with DEC expertise and with hindsight of 16 bit OS/2.

Quote:
If Windows Explorer is a shell, then what is a Kernel?
Like in a nut a kernel is the heart of an operating system and has a number of features such as scheduling, synchronisation and interprocess communication, depending on the OS this may also include memory management and driver support. There are kernels, microkernels and even nano-kernels, and has nothing to do with shells or Windows explorer, hence apples and oranges.
Closed Thread

Bookmarks

Tags
linux commands, unix commands

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:56 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0