Professional Documents
Culture Documents
GROUP NO: 7
Before understanding UNIX me must understand: What is
operating system first
document preparation
UNIX is considered the most stable and the most secure operating
system on the market, four decades after its appearance
UNIX, like any other operating system, is an
integrated collection of programs that act as links
between the computer system and its users,
providing three primary functions:
IBM (AIX)
RedHat (Linux)
UNIX is a:
Multi user operating system, i.e. more than one user can use the
machine at a time supported via terminals (serial or network
connection)
Multi
Portability:
The system is written in high-level language making it easier to read,
understand, change and, therefore move to other machines. The code can
be changed and complied on a new machine. Customers can then choose
from a wide variety of hardware vendors without being locked in with a
particular vendor.
The Unix operating system is made of three
parts:
1. The Kernel
2. The Shell
3. The Programs and Utilities
The KERNEL of UNIX is a hub of the operating
system :
Project
File1 File3
File2
A path is a description of how to find something in a file system
An absolute path describes a location from the root directory down
wlec/shell.html
There are many ways that we can access a UNIX system
The main mode of access to a UNIX machine is through a
terminal which usually includes a keyboard and a video
monitor
For each terminal connected to the UNIX system, the kernel
runs a process “tty” that accepts input from the terminal
,and sends output
Tty processors are general programs, and must be told the
capabilities of the terminal in order to correctly read them
and write to, the terminal
The name of the program comes from teletypewriter,
abbreviated "TTY"
When you connect to a UNIX computer remotely (using telnet) or
when you log in locally using a text-only terminal, you will see
the prompt:
login:
At this prompt, type in your username and press the enter/return/
key.
Remember that UNIX is case sensitive (i.e. Will, WILL and will
are all different logins). You should then be prompted for your
password:
Type your password in at the prompt and press the
enter/return/ key. Note that your password will not be
displayed on the screen as you type it in
If you mistype your username or password you will
get an appropriate message from the computer and
you will be presented with the login: prompt again.
Otherwise you should be presented with a shell
prompt which looks something like this:
$
To log out of a text-based UNIX shell, type "exit" at
the shell prompt (or if that doesn't work try "logout";
if that doesn't work press ctrl-d)
A UNIX command line consists of the name of a
UNIX command (actually the "command" is the
name of a built-in shell command, a system
utility or an application program) followed by its
"arguments" (options and the target filenames
and/or expressions). The general syntax for a
UNIX command is :
$ command -options targets
When you type a command like ls, the OS:
Reads characters from the keyboard
Passes them to the shell (because it's the currently active window)
The shell:
Breaks the line of text it receives into words
+ Looks for a program with the same name as the first word
+ Runs that program
That program's output goes back to the shell...
...which gives it to the OS...
...which displays it on the screen
(Actually, the OS hands it to the window manager, which takes care of the display)
All well-designed software systems work this way
Break the task down into pieces
Write a tool that solves each sub-problem
Allows you to:
Develop and test components independently
Replace or re-use components incrementally
Add new components as you go along
Unix is:
more flexible and can be installed on many different types of machines,
including main-frame computers, supercomputers and micro-computers
more stable and does not go down as often as Windows does, therefore
requires less administration and maintenance
HARDWARE
Unix do not necessarily support the same hardware as other
operating systems such as Microsoft Windows and Mac OS X.
Whether due to the hardware vendor's unwillingness to release Unix
drivers for the hardware or because their systems simply do not
support it yet, Unix may not work on the same hardware
configuration as a Windows or OS X system might.
SUPPORT
Although extensive online support is available for Unix,
professional offline support is not as extensive as Windows or
OS X
INTERFACE
The traditional interface for the Unix operating system is
command line based, and this command line shell interface may
be hostile to the casual user. Unix was developed for use by
programmers and serious computer users rather than casual
users. A graphical user interface (GUI) is also available, but the
traditional Unix interface is command line
COST : The big difference between UNIX and Window is cost. Unix
is free source code which we can download from internet but for
window’s we have to pay Mr. Gates
Both unix and windows have strong built-in security features that
keep unwanted intruders out
One argument to be made about UNIX is its lack of standardization.
Some feel there are too many choices to be made regarding which GUI
to use, or which combination of UNIX hardware and software to
support