Académique Documents
Professionnel Documents
Culture Documents
Lecture 1
Chapter 1: Overview of the UNIX System
OS Functions
To manage computer resources:
CPU, basic storage, disc storage, I/O devices, buses, channels, controllers, Process management, etc.
To manage jobs execution To provide tools for software engineering To provide tools for data security, priorities, authorized access Networking
____________________________________________________________________________________ COS 231 Introduction to UNIX, AUB, V. Karagiozov [ 3]
memory. Provides for each of the jobs a "unit" of CPU's time (CPU time is shared among jobs) and distributed other computing resources. Allow user to interact with his/her program during the execution. for execution occur.
Real time OS - Execute job immediately (in real time) when request
Types of users
1. End-users - are not involved in programming, only using. 2. Applied software engineers - involved in applied
programs developing.
UNIX utilities: there are more than 400 utilities or commands Networking.
____________________________________________________________________________________ COS 231 Introduction to UNIX, AUB, V. Karagiozov [15]
File management:
manage the efficient storage and retrieval of all files. It is responsible for establishing the organization structure known as file system. multiple login
Device independence
Communications with the core of UNIX (the kernel) is accomplished through a standardized set of system calls. All device drivers (device managing programs) use this scheme of system calls. It is always possible to enter a device driver for new device into kernel. Devices (printer, terminal, etc.) and disk files all appear as files to UNIX programs. Input and output are device-independent can be redirected to or from any appropriate device (redirection).
Interprocess Communications
(InterProcess Communication) - The exchange of data between one program and another either within the same computer or over a network. It implies a protocol that guarantees a response to a request. Unix uses pipes and filters A pipe sends the output of one program to another program as input A filter is a program designed to to process a stream of input data and yield a stream of output data.
Networking
Network communication support was introduced in Berkeley Unix 4.2 TCP/IP is the predominant network protocol used in Unix Networking utilities:
check the status of remote computers and their users log-in on remote systems run commands on remote systems copy files from one system to another interact with users on remote systems
The OS Shell
Text reading:
Chapter 1- Overview of the UNIX System
After reading it try to answer to all questions from Review Exercises section
client or
What is my password? (You should received your password from OCC by e-mail) CHANGE YOUR PASSWORD!!!
$ passwd Changing password for xxxxxx Old password: New password: Re-enter new password:
DO
Logging Out
After changing the password log out and try logging back in using your new password When finish you work log out:
Ctrl+D, or logout, or exit
Always log out using one of these commands. Do not leave your terminal window opened!
____________________________________________________________________________________ COS 231 Introduction to UNIX, AUB, V. Karagiozov [30]