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 06:23 AM
batch file--bunch of commands alfredo123 Windows & DOS: Issues & Discussions 3 07-18-2007 08:05 AM
Renaming a bunch of files Prashanth.m Shell Programming and Scripting 2 09-20-2005 10:16 PM
what a bunch of idiots... norsk hedensk News, Links, Events and Announcements 1 01-15-2004 07:45 PM
grep'ing for text within a bunch of files...? kitykity UNIX for Dummies Questions & Answers 1 09-19-2000 05:50 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-28-2007
Registered User
 

Join Date: Sep 2007
Posts: 133
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
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?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 09-28-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
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?
Reply With Quote
  #3 (permalink)  
Old 09-28-2007
Registered User
 

Join Date: Sep 2007
Posts: 133
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
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
Reply With Quote
  #4 (permalink)  
Old 09-28-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
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.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:51 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101