Chapter 1 Introducing UNIX

Total Page:16

File Type:pdf, Size:1020Kb

Chapter 1 Introducing UNIX Chapter 1 Introducing UNIX Tien-Hsiung Weng 翁添雄 [email protected] Objectives • Learn what Operating System is • Understand the role of the system administrator • Log in and out of a UNIX system • Find out how UNIX got steadily fragmented by the emergence of other flavors. • Understand the merging of POSIX and Single Unix Specification into a single UNIX standard • Discover UNIX architecture The Operating System • The software that manages the computer’s hardware and provides a convenient and safe environment for running programs. • Act as an interface between programs and hardware resources • Modern OS are multiprogramming – Multiple programs can reside in memory • Time share: OS break up a unit of time into several slices for cycling multiple jobs. • Preemptive vs Non-preemtive – Whether or not the kernel preempts a process when its time expires • Multiuser: Multiple users can run programs. • Multitasking: One user can run multiple programs. The Operating System • OS interacts with hardware and manages programs. • Programs not expected to know which hardware they will run on. • Must be possible to change hardware without changing the programs. • Programs cannot manage themselves. • OS provides a safe environment for programs to run. The Operating System • UNIX programs are designed to work together • Programs to become general-purpose tools, they must be data-independent. • The output of any program should be usable as the input to another. • Programs can be work together in "pipelines". A vertical bar (|) represents the pipe. • Example: – cat file1 file2 | mail joan – ls –a | more – find . –name *\.txt | grep ‘John’ How a Program Runs • OS loads program from disk, allocates memory and CPU. • Instructions in program are run on CPU and OS keeps track of last instruction executed. • If program needs to access the hardware, OS does the job on its behalf. • OS saves the state of the program if program has to leave CPU temporarily. • OS cleans up memory and registers after process has completed execution. Brief overview of UNIX • Unix creators: Ken Thompson and Dennis Ritchie. • Written in C (make UNIX portable) • UNIX get fragmented into BSD (Berkeley System Distribution) and AT&T SVR4 (System V Release 4) • SUN : Solaris • IBM : AIX •HP : HP-UX • DEC : Tru64-UNIX •Linux The UNIX Architecture • Kernel and shell User User Shell Kernel User Hardware The UNIX Architecture: Kernel •Kernel – is the core of the OS. – Program always resides in memory. – Has direct access to the hardware. – Handles file I/O. – Manages processes. – User programs that need to access the hardware communicate with the kernel using a set of functions called system calls. – Manage system’s memory, schedule processes, decide their priorities, etc. – Only one copy shared by all users. The UNIX Architecture: Kernel – When kernel runs a program, kernel: • allocates a small slice of time - up to a second - and lets the program run until that slice is used up, or the program decides to take a rest of its own accord (this is called "sleeping") whether or not the program is finished, it finds some other program to run. • never takes a vacation. • always watching over the system. – UNIX supports preemptive multitasking • The kernel preempts a process when its time expires The UNIX Architecture: Shell • You talk to shell, not to kernel • The shell protects Unix from users • The shell interprets their commands and either executed them directly or passes them onto other programs. A program or command invoked only when the user logs in. Example %cat m??? • The shell finds the filenames, makes a complete list of them, and calls the cat command to ask it to print the expanded list. The cat command calls on the kernel to find each file on the disk and print its contents as a stream of characters on the display. Different kind of Shells • User has a choice of shells: – sh (the Bourne shell) – csh (the C shell) – ksh (the Korn shell) – bash (the bourne again shell) – tcsh (the extended c shell) sh: the Bourne shell (creator: Steve Bourne). – the oldest of the shells, available on most UNIX systems. Some systems have replaced sh with a newer shell, like ksh or bash, that has the features of sh and more.) – a bit primitive and lacks job control features (the ability to move jobs from the foreground to the background). Most UNIX users consider the Bourne shell superior for shell programming or writing command files. Different kind of Shells • csh: the C shell. – developed at Berkeley as part of their UNIX implementation – has a lot of nice features that aren't available in the Bourne shell, including job control and history • Ksh: the Korn shell (creator: David Korn). – compatible with the Bourne shell, but has most of the C shell's features plus some completely new features, like history editing; the ability to recall old commands and edit them before executing them. – more reliable than csh. – a standard part of UNIX SVR4; has also been included in some other UNIX implementations. • Bash: the "Bourne-again" shell developed by the Free Software Foundation. – fairly similar to the Korn shell, has many of the C shell's features, plus history editing and a built-in help command. • tcsh - extended versions of the C shell – works like the original C shell - but with more features Which Shell Am I running? • Can be recognized by by a character in the prompt it displays: – Bourne-type shells usually have $ in the prompt. – The C shell uses %. – But tcsh users often use > • $ echo $SHELL Daemons • Deamons: – An important group of programs – The system is "helpers." – Run from time to time performing small but important tasks like handling mail, running network communications, feeding data to your printer, keeping track of the time, and so on. – We share the computer with the kernel and some mysterious daemons. – For BSD, type ps -aux to see everything that is running, including the daemons – For many other flavors of UNIX, type ps -el. Daemons • Kernel run your programs and the daemons, any other users programs, or any scheduled programs to run automatically. • Any of the programs that are running may write to the disk at any time. • In UNIX, to turn the computer off while it is writing something on the disk. This will probably destroy the disk, and could damage the disk drive. • One of the daemons may access the disk drive every few seconds or so. Just turn a UNIX computer off might do all sorts of damage to the system's files. Daemons • To turn a UNIX system off, need to run shutdown (program), which kicks everyone off the system and makes sure that a daemon will not try to write to disk. • Then run a program named sync, which makes sure that the disks have finished doing everything. Only then is it safe to pull the switch. • When start up the system, it automatically runs fsck (filesystem check program) to find out if the system is properly shut down and fix any damage. Loggin In – (How) Login from Windows: • telnet kitty.cs.pu.edu.tw • ssh (security shell) – From windows: download putty – Then enter userID and password Loggin In and out – (How) Login from UNIX or Linux: • ssh –l UserID kitty.cs.pu.edu.tw • Logout •exit •^z Loggin In – (Shell Setup Files) • When log in to a UNIX system, the login program usually starts a shell. A shell can run in two modes: as a login shell or a non-login shell. •The login program sets a special flag to tell a shell (a login shell).If the shell doesn't have that flag set (a non-login shell). • Opening a new window in a window system may or may not start a login shell (depends on the configuration.) – xterm -ls starts a login shell in an xterm window; – xterm +ls starts a non-login shell. – ftp and uucp usually starts a non-login shell. – a subshell is never a login shell. Loggin In – (Shell Setup Files) • The login shell – starts the non-login shell and make sure that your environment variables are set. – sets the PATH environment variable, TERM, the UID and GID of the terminal amongst other things. • • Upon start-up, login shell invokes two sets of files: – the profile files – non-login 'shell rc' files. • System-wide profile and shell rc initialization files reside in the /etc directory owned by root. System-wide initialization and profile files: – /etc/profile /etc/bashrc • Users' profile and shell rc files owned by the specific user, reside in their home directories and are hidden. – ~/.bash_profile ~/.bashrc Loggin In – (Shell Setup Files) • The profile files contain the initialization data used at login time, hence: – /etc/profile ~/.bash_profile are used by the login shell. • The non-login shell (bash) files are: – /etc/bashrc ~/.bashrc which are run in order to set up variables and other necessaries at shell initialisation. • Only the root user can change the /etc/profile and /etc/bashrc. login and non-login shell • Log in, edit your .bash_profile. Add MYSCHOOL=“Providence U“ , then Save the file and logout. • Login again., Type echo $MYSCHOOL, What happens? Why? • type bash again. In the new shell type echo $MYSCHOOL • What happens? Why? • Start another "bash" shell, type; echo $MYSCHOOL • What happens? Why? • Edit your .bashrc, type HERSCHOOL=“FengChia U" • Save the file and logout, log in again then type echo $HERSCHOOL and echo $MYSCHOOL • What happens? Why? •Type bash; and echo $HERSCHOOL and echo $MYSCHOOL • What happens? Why? •Type bash; and echo $HERSCHOOL and echo $MYSCHOOL • What happens? Why? • Can you explain what is happening in these examples and why? • Exit back to your original prompt. Loggin In – (Shell Setup Files) Bourne Shell • The original Bourne shell has one file that it reads when you log in (.profile) in home directory.
Recommended publications
  • Tutorials Point, Simply Easy Learning
    Tutorials Point, Simply Easy Learning UML Tutorial Tutorialspoint.com UNIX is a computer Operating System which is capable of handling activities from multiple users at the same time. Unix was originated around in 1969 at AT&T Bell Labs by Ken Thompson and Dennis Ritchie. This tutorial gives an initial push to start you with UNIX. For more detail kindly check tutorialspoint.com/unix What is Unix ? The UNIX operating system is a set of programs that act as a link between the computer and the user. The computer programs that allocate the system resources and coordinate all the details of the computer's internals is called the operating system or kernel. Users communicate with the kernel through a program known as the shell. The shell is a command line interpreter; it translates commands entered by the user and converts them into a language that is understood by the kernel. Unix was originally developed in 1969 by a group of AT&T employees at Bell Labs, including Ken Thompson, Dennis Ritchie, Douglas McIlroy, and Joe Ossanna. There are various Unix variants available in the market. Solaris Unix, AIX, UP Unix and BSD are few examples. Linux is also a flavour of Unix which is freely available. Several people can use a UNIX computer at the same time; hence UNIX is called a multiuser system. A user can also run multiple programs at the same time; hence UNIX is called multitasking. Unix Architecture: Here is a basic block diagram of a UNIX system: 1 | P a g e Tutorials Point, Simply Easy Learning The main concept that unites all versions of UNIX is the following four basics: Kernel: The kernel is the heart of the operating system.
    [Show full text]
  • Introduction to Unix
    Introduction to Unix Rob Funk <[email protected]> University Technology Services Workstation Support http://wks.uts.ohio-state.edu/ University Technology Services Course Objectives • basic background in Unix structure • knowledge of getting started • directory navigation and control • file maintenance and display commands • shells • Unix features • text processing University Technology Services Course Objectives Useful commands • working with files • system resources • printing • vi editor University Technology Services In the Introduction to UNIX document 3 • shell programming • Unix command summary tables • short Unix bibliography (also see web site) We will not, however, be covering these topics in the lecture. Numbers on slides indicate page number in book. University Technology Services History of Unix 7–8 1960s multics project (MIT, GE, AT&T) 1970s AT&T Bell Labs 1970s/80s UC Berkeley 1980s DOS imitated many Unix ideas Commercial Unix fragmentation GNU Project 1990s Linux now Unix is widespread and available from many sources, both free and commercial University Technology Services Unix Systems 7–8 SunOS/Solaris Sun Microsystems Digital Unix (Tru64) Digital/Compaq HP-UX Hewlett Packard Irix SGI UNICOS Cray NetBSD, FreeBSD UC Berkeley / the Net Linux Linus Torvalds / the Net University Technology Services Unix Philosophy • Multiuser / Multitasking • Toolbox approach • Flexibility / Freedom • Conciseness • Everything is a file • File system has places, processes have life • Designed by programmers for programmers University Technology Services
    [Show full text]
  • Shell Script & Advance Features of Shell Programming
    Kirti Kaushik et al, International Journal of Computer Science and Mobile Computing, Vol.4 Issue.4, April- 2015, pg. 458-462 Available Online at www.ijcsmc.com International Journal of Computer Science and Mobile Computing A Monthly Journal of Computer Science and Information Technology ISSN 2320–088X IJCSMC, Vol. 4, Issue. 4, April 2015, pg.458 – 462 RESEARCH ARTICLE Shell Script & Advance Features of Shell Programming Kirti Kaushik* Roll No.15903, CS, Department of Computer science, Dronacharya College of Engineering, Gurgaon-123506, India Email: [email protected] Jyoti Yadav Roll No. 15040, CS, Department of Applied Computer science, Dronacharya College of Engineering, Gurgaon-123506, India Email: [email protected] Kriti Bhatia Roll No. 15048, CS, Department of Applied Computer science, Dronacharya College of Engineering, Gurgaon-123506, India Email: [email protected] Abstract-- In this research paper, the idea of shell scripting and writing computer programs is examined and different parts of shell programming are likewise contemplated. A shell script is a PC system intended to be controlled by the UNIX shell which is a charge line translator. The different tongues of shell scripts are thought to be scripting dialects. Regular operations performed by shell scripts incorporate document control, program execution, and printing content. A shell script can give an advantageous variety ofa framework order where unique environment settings, charge alternatives, or post-transforming apply naturally, yet in a manner that permits the new script to still go about as a completely typical UNIX summon. The real ideas like Programming in the Borne and C-shell, in which it would be clarified that how shell programming could be possible in Borne and C-shell.
    [Show full text]
  • Shells and Shell Scripting
    Shells and Shell scripting What is a Shell? • A shell is a command line interpreter that is the interface between the user and the OS. • A “program launcher” of sorts. • The shell: o analyzes each command o determines what actions are to be performed o performs the actions • Example: wc –l file1 > file2 Which shell? • sh – Bourne shell o Most common, other shells are a superset o Good for programming • csh or tcsh – default for command line on CDF o C-like syntax o Best for interactive use. Not good for programming. • bash – default on Linux (Bourne again shell) o Based on sh, with some csh features. • korn – written by David Korn o Based on sh – Some claim best for programming. o Commercial product. Common shell facilities Shell startup When a shell is invoked, it does the following: 1. Read a special startup file (usually in home directory) 2. display prompt and wait for command 3. Ctrl-D on its own line terminates shell, otherwise, goto step 2. Shell startup files used to set shell options, set up environment variables, alias sh – executes .profile if it’s there. ksh – executes .profile if in interactive mode. Executes $ENV (usually $HOME/.kshrc) csh – executes .cshrc if it exists. If a login shell, executes .login bash – executes .bashrc, if a login shell, executes .bash_profile instead Executables vs. built-in commands Most commands you run are other compiled programs. Found in /bin Example: ls – shell locates ls binary in /bin directory and launches it Some are not compiled programs, but built into the shell: cd, echo Input-output redirection prog < infile > outfile ls > outfile 2>&1 # sh stdout and stderr Pipelining commands send the output from one command to the input of the next: ls -l | wc ps –aux | grep reid | sort Before a program is executed, the shell recognizes the special characters such as <, >, |, and rewires the standard input, output, or error file descriptors of the program about to be executed to point to the right files (or the standard input of another program).
    [Show full text]
  • Unit V Algorithm for Booting the UNIX System
    Unit V Algorithm for booting the UNIX system : As we’ve noted, the boot process begins when the instructions stored in the computer’s permanent, nonvolatile memory (referred to colloquially as the BIOS, ROM,NVRAM, and so on) are executed. This storage location for the initial boot instructions is generically referred to as firmware (in contrast to “software,” but reflecting the fact that the instructions constitute a program[2]). These instructions are executed automatically when the power is turned on or the system is reset, although the exact sequence of events may vary according to the values of stored parameters.[3] The firmware instructions may also begin executing in response to a command entered on the system console (as we’ll see in a bit). However they are initiated, these instructions are used to locate and start up the system’s boot program , which in turn starts the Unix operating system. The boot program is stored in a standard location on a bootable device. For a normal boot from disk, for example, the boot program might be located in block 0 of the root disk or, less commonly, in a special partition on the root disk. In the same way, the boot program may be the second file on a bootable tape or in a designated location on a remote file server in the case of a network boot of a diskless workstation. There is usually more than one bootable device on a system. The firmware program may include logic for selecting the device to boot from, often in the form of a list of potential devices to examine.
    [Show full text]
  • Introduction to Shell Programming Using Bash Part I
    Introduction to shell programming using bash Part I Deniz Savas and Michael Griffiths 2005-2011 Corporate Information and Computing Services The University of Sheffield Email [email protected] [email protected] Presentation Outline • Introduction • Why use shell programs • Basics of shell programming • Using variables and parameters • User Input during shell script execution • Arithmetical operations on shell variables • Aliases • Debugging shell scripts • References Introduction • What is ‘shell’ ? • Why write shell programs? • Types of shell What is ‘shell’ ? • Provides an Interface to the UNIX Operating System • It is a command interpreter – Built on top of the kernel – Enables users to run services provided by the UNIX OS • In its simplest form a series of commands in a file is a shell program that saves having to retype commands to perform common tasks. • Shell provides a secure interface between the user and the ‘kernel’ of the operating system. Why write shell programs? • Run tasks customised for different systems. Variety of environment variables such as the operating system version and type can be detected within a script and necessary action taken to enable correct operation of a program. • Create the primary user interface for a variety of programming tasks. For example- to start up a package with a selection of options. • Write programs for controlling the routinely performed jobs run on a system. For example- to take backups when the system is idle. • Write job scripts for submission to a job-scheduler such as the sun- grid-engine. For example- to run your own programs in batch mode. Types of Unix shells • sh Bourne Shell (Original Shell) (Steven Bourne of AT&T) • csh C-Shell (C-like Syntax)(Bill Joy of Univ.
    [Show full text]
  • Thread Scheduling in Multi-Core Operating Systems Redha Gouicem
    Thread Scheduling in Multi-core Operating Systems Redha Gouicem To cite this version: Redha Gouicem. Thread Scheduling in Multi-core Operating Systems. Computer Science [cs]. Sor- bonne Université, 2020. English. tel-02977242 HAL Id: tel-02977242 https://hal.archives-ouvertes.fr/tel-02977242 Submitted on 24 Oct 2020 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Ph.D thesis in Computer Science Thread Scheduling in Multi-core Operating Systems How to Understand, Improve and Fix your Scheduler Redha GOUICEM Sorbonne Université Laboratoire d’Informatique de Paris 6 Inria Whisper Team PH.D.DEFENSE: 23 October 2020, Paris, France JURYMEMBERS: Mr. Pascal Felber, Full Professor, Université de Neuchâtel Reviewer Mr. Vivien Quéma, Full Professor, Grenoble INP (ENSIMAG) Reviewer Mr. Rachid Guerraoui, Full Professor, École Polytechnique Fédérale de Lausanne Examiner Ms. Karine Heydemann, Associate Professor, Sorbonne Université Examiner Mr. Etienne Rivière, Full Professor, University of Louvain Examiner Mr. Gilles Muller, Senior Research Scientist, Inria Advisor Mr. Julien Sopena, Associate Professor, Sorbonne Université Advisor ABSTRACT In this thesis, we address the problem of schedulers for multi-core architectures from several perspectives: design (simplicity and correct- ness), performance improvement and the development of application- specific schedulers.
    [Show full text]
  • Unix Shell Programming – by Dinesh Kumar S
    1 Unix Shell Programming – by Dinesh Kumar S PDF by http://www.k2pdf.com Contents Chapters Topic Page no. Chapter 1 Introduction 3 Chapter 2 SSH Client 4 Chapter 3 Unix Shells 8 Chapter 4 Text Editors 11 Chapter 5 A Beginning to Shell Scripting 19 Chapter 6 Operators 33 Chapter 7 Variables Manipulation (Advance) 39 Chapter 8 Conditional Statements 43 Chapter 9 Looping Statements 47 Chapter 10 Control Statements 74 Chapter 11 Functions 79 2 Unix Shell Programming – by Dinesh Kumar S Chapter 1 Introduction Linux : It is an operating system based on UNIX . Kernel : It is the backbone of Linux OS, which is used to manage resources of Linux OS like memory, I/O, software, hardware management processes. User Shell Script Kernel PC h/w User writes script. Script contains instructions. Kernel interprets the instruction in machine language. As per the instruction kernel controls the PC hardware. Shell script : It’s a collection of OS commands or instructions. Advantages of Shell Script : Script is always a platform independent. Performance will be faster than programming languages. Very easy to debug. 3 Unix Shell Programming – by Dinesh Kumar S Chapter 2 SSH Client Secure Shell (or) SSH is a network protocol that is used to exchange or share information between two different networks. This is used on Linux & UNIX systems to access SHELL accounts. All the information exchanged/transmitted between networks is encrypted . It uses public key cryptography to authenticate remote computer user. Free Serial, Telnet, and SSH client Putty Tera Term Putty : It is a terminal emulator application which acts as client for SSH, Telnet, rLogin.
    [Show full text]
  • Embedded Systems Supporting by Different Operating Systems
    A Survey: Embedded Systems Supporting By Different Operating Systems Qamar Jabeen, Fazlullah Khan, Muhammad Tahir, Shahzad Khan, Syed Roohullah Jan Department of Computer Science, Abdul Wali Khan University Mardan [email protected], [email protected] -------------------------------------------------------------------------------------------------------------------------------------- Abstract: In these days embedded systems used in industrial, commercial system have an important role in different areas. e.g Mobile Phones and different Fields and applications like Network type of Network Bridges are embedded embedded system , Real-time embedded used by telecommunication systems for systems which supports the mission- giving better requirements to their users. critical domains, mostly having the time We use digital cameras, MP3 players, DVD constraints, Stand-alone systems which players are the example of embedded includes the network router etc. A great consumer electronics. In our daily life its deployment in the processors made for provided us efficiency and flexibility and completing the demanding needs of the many features which includes microwave users. There is also a large-scale oven, washing machines dishwashers. deployment occurs in sensor networks for Embedded system are also used in providing the advance facilities, for medical, transportation and also used in handled such type of embedded systems wireless sensor network area respectively a specific operating system must provide. medical imaging, vital signs, automobile This paper presents some software electric vehicles and Wi-Fi modules. infrastructures that have the ability of supporting such types of embedded systems. 1. Introduction: Embedded system are computer systems designed for specific purpose, to increase functionality and reliability for achieving a specific task, like general Figure 1: Taxonomy of Embedded Software’s purpose computer system it does not use for multiple tasks.
    [Show full text]
  • Shells and Shell Programming
    Shells & Shell Programming (Part A) Software Tools EECS2031 Winter 2018 Manos Papagelis Thanks to Karen Reid and Alan J Rosenthal for material in these slides SHELLS 2 What is a Shell • A shell is a command line interpreter that is the interface between the user and the OS. • The shell: – analyzes each command – determines what actions are to be performed – performs the actions • Example: wc –l file1 > file2 3 Which shell? • sh – Bourne shell – Most common, other shells are a superset – Good for programming • csh or tcsh – command-line default on EECS labs – C-like syntax – Best for interactive use. • bash – default on Linux (Bourne again shell) – Based on sh, with some csh features. • korn – written by David Korn – Based on sh – Some claim best for programming. – Commercial product. 4 bash versus sh • On EECS labs, when you run sh, you are actually running bash. • bash is a superset of sh. • For EECS2031, you will be learning only the features of the language that belong to sh. 5 Changing your shell • I recommend changing your working shell on EECS to bash – It will make it easier to test your shell programs. – You will only need to learn one set of syntax. • What to do: – echo $SHELL (to check your current shell) – chsh <userid> bash – Logout and log back in. – .profile is executed every time you log in, so put your environment variables there 6 Standard Streams • Preconnected input and output channels between a computer program and its environment. There are 3 I/O connections: – standard input (stdin) – standard output (stdout) – standard
    [Show full text]
  • Rc the Plan 9 Shell
    Rc ߞ The Plan 9 Shell Tom Duff [email protected]−labs.com ABSTRACT Rc is a command interpreter for Plan 9 that provides similar facilities to UNIXߣs Bourne shell, with some small additions and less idiosyncratic syntax. This paper uses numerous examples to describe rcߣs features, and contrasts rc with the Bourne shell, a model that many readers will be familiar with. 1. Introduction Rc is similar in spirit but different in detail from UNIXߣs Bourne shell. This paper describes rcߣs principal features with many small examples and a few larger ones. It assumes familiarity with the Bourne shell. 2. Simple commands For the simplest uses rc has syntax familiar to Bourne-shell users. All of the fol­ lowing behave as expected: date cat /lib/news/build who >user.names who >>user.names wc <file echo [a−f]*.c who | wc who; date vc *.c & mk && v.out /*/bin/fb/* rm −r junk || echo rm failed! 3. Quotation An argument that contains a space or one of rcߣs other syntax characters must be enclosed in apostrophes (’): rm ’odd file name’ An apostrophe in a quoted argument must be doubled: echo ’How’’s your father?’ 4. Patterns An unquoted argument that contains any of the characters *?[is a pattern to be matched against file names. A * character matches any sequence of characters, ? matches any single character, and [class] matches any character in the class, unless the first character of class is ~, in which case the class is complemented. The class may ­ 2 ­ also contain pairs of characters separated by −, standing for all characters lexically between the two.
    [Show full text]
  • UNIX-Like Operating Systems
    History OS UNIX UI UNIX-like Security Questions Operating Systems by Roman Szturc Simple, Low-Power Machines History user had sole use of the machine, OS program was loaded into the machine and the UNIX machine set to work, UI task is responsible for everything, Security Questions task totaly determines behavior of computer. machines came with libraries of support code which were linked to the user’s program to assist in operations such as input and output This would become the genesis of the modern-day operating system. More Powerful Computers History Later, more powerful computers appeared. They were OS characterized as follows: UNIX UI CPU is much faster than R/W operations, Security CPU is idle while R/W operation in progress, Questions CPU can perform other task while idle. Need to manage multiple tasks Task switching. Task scheduling. Operating System History OS An operating system (OS) is the system (low-level) UNIX UI software responsible for Security Questions direct control and management of hardware, task management, storage allocation, presentation of a default user interface. Program and Process process2 History OS data2 UNIX UI Security process1 Questions data1 PSfrag replacements program code memory Early Operating Systems History OS Early OS had some problems. The OS UNIX UI were very diverse — each OS specific to particular Security hardware, Questions used radically different models of commands and procedures, Typically, each time the manufacturer brought out a new machine, there would be a new OS. UNIX UNIX is an OS developed in the 1960s and 1970s by AT&T Bell Labs employees including K.
    [Show full text]