Any Computer system consists of
* Operating System
* Applications and Utilities
Unix is an operating system which was first developed in the 1960s in Bell Labs. Unix is a popular OS because of
multi user, multi tasking, stability and portability capabilities.
what is an Operating System?
Operating system is a resource manager, which manages resources like CPU, Memory, Disks, printers, modems, network cards etc etc. Operating system acts as a host for the application programs which runs on the machine.
Kernel is key part of Operating system which manages the kernel subsystems like process management, memory management, network management, filesystem, devices etc. This is heart of operating system which manages system and processes. Kernel provides an execution environment where applications runs.
The most generic term of shell means program where users run commands. Its a command interpreter. It takes input from the user and interacts with the kernel. It acts as an interface between kernel and user.
As far as i know, These are the following important shells.
(a) Bourne Shell(sh)
(b) C shell(csh)
(c) korne shell(ksh)
(d) Bourne-again shell (bash)
(f) z shell (zsh)
To find out on what shell you are working depends on which shell the system administrator has specified as your default shell when your system was first installed. All shells have their own initialization files.
To determine your login shell:
$ echo $SHELL
find the following to determine your default shell.
/bin/sh – Bourne shell
/bin/bash – Bourne Again shell
/bin/csh – C shell
/bin/ksh – Korn shell
/bin/zsh – Z shell
When you first login into the system, it runs the system profile file /etc/profile. after your system executes the system profile, then user profile will be run..User profile is the file where your environment is defined.
Depending on your default shell, user profile will be the following
.profile (Bourne and Korn shells)
.bash_profile (Bourne Again shell)
.login and .cshrc ( C shell)
User profile resides in each users home directory.
To find out your environment
Just type env command at your shell
above output is from my HP-UX Oracle user Environment
These are the main distributions of Unix, which are more popular:
(a) AIX ( IBM) (Aix 6.1 is the latest version)
(b) HP-UX ( HP) (11i V3 is the latest version)
(c) Solaris (Sun Microsystems) (Solaris 10 is the latest version)
we have following Linux Distributions, which are more popular
(a) RedHat Enterprise Linux (RHEL 5 is the latest version)
(b) SuSe Enterprise Linux (SuSe 10 is the Latest Version)
(c) Oracle Enterprise Linux (Oracle Enterprise Linux 5 is the Latest Version)
For supported Unix/Linux versions for Oracle Applications 11i and Release 12, check the following link.