CS 227 lecture -*- Outline -*- * Unix survival skills ** what is it? a computer has many *resources* disk (files), the network, monitor, CPU (time), memory, etc. if there is more than one user, need to allocate these resources even if not more than one user, want to have these resources controlled in such a way that most programs don't have to worry about the details def: an operating system is a program that controls the resources of a computer e.g., Unix, DOS, System 7, VMS *** layers of an OS (Unix) (draw picture) shell and other built-in programs (file system commands, ...) kernel (manages the hardware and provides essentials) hardware and other resources strictly speaking the O.S. doesn't include the shell, etc. but most people talk that way *** login ids (user name) since Unix is a multiuser O.S., need some identity to allocate resources to login id associates you (a person) to an account (machine's rep of person) *** account which the id identifies like an office, password is its lock don't give anyone else the lock don't let anyone else in the office (to set it up) ** logging in and logging out (PV 3.2) *** logging in distinguish workstation case from terminal case will be showing terminal case password doesn't echo *** setting the terminal type (PV 3.2.5) usually won't have to do this except on a terminal answer the TERM = (vt100) prompt OR (later) set term=vt100 good for most dial ups or whatever kind of terminal (xterm, vt200, adm3a) *** correcting typing mistakes use DEL (the delete or