Operating Systems 1

  • 1,327 views
Uploaded on

Tutorial slides for Kingston University ITtoolbox students

Tutorial slides for Kingston University ITtoolbox students

More in: Education , Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,327
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
29
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. CI1131 ICT1 Lecture Introduction to UNIX & Linux
  • 2. UNIX & the “ *NIX” family
    • UNIX developed at AT&T Bell Labs, 1969
    • 3 levels of the UNIX system: kernel, shell, and tools and applications
    • multitasking, multi-user, portable, vast suite of tools and applications, .... stable!
    • has spawned 100+ *NIXes (incl. Solaris, FreeBSD, NeXTSTEP, Mac OS X, and Linux)
  • 3. UNIX
    • The kernel
      • the core of the operating system, the kernel controls the hardware and turns part of the system on and off at the programer's command. E.g. if you ask the computer to list (ls) all the files in a directory, the kernel tells the computer to read all the files in that directory from the disk and display them on your screen.
  • 4. UNIX
    • The shell
      • There are several kinds of shell, most notably the command driven Bourne Shell, C Shell, Korn shell, and BASH ( B ourne A gain SH ell), and menu-driven shells (Midnight Commander, vsh, lash) that make it easier for beginners to use. Whatever shell is used, its purpose remains the same -- to act as an interpreter between the user and the computer.
  • 5. UNIX
    • Tools and applications
      • There are hundreds of tools available to UNIX users, although some have been written by third party vendors for specific applications. Typically, tools are grouped into categories for certain functions, such as word processing, business applications, or programming. (Try typing, for example, apropos editor at the command prompt.)
  • 6. Some UNIX references
    • The Creation of the UNIX Operating System
    • http://www.bell-labs.com/history/unix/
    • The Single UNIX Specification
    • http://www.unix.org/what_is_unix/
    • Unix History
    • http://www.levenez.com/unix/
    • A Brief History of UNIX
    • http://www.uwsg.iu.edu/usail/external/recommended/unixhx.html
  • 7. LINUX
    • Project begun by Finnish student Linus Torvalds in 1991
    • Strictly, Linux is just the kernel – the operating system itself is GNU
    • Many popular *NIX alternatives also using GNU OS:
      • FreeBSD, BeOS, OpenBSD, NetBSD, ...
  • 8. Linux is free
    • Linux mimics the form and function of a UNIX system, but (important!) is not derived from licensed source code , hence 'free'
    • No one “owns” Linux: it it not a company or an organisation
      • Anyone is free to create a new “distribution”
      • Examples: Fedora, Debian, Mandriva, SuSE, Ubuntu, Gentoo, Centos, BLAG, Knoppix, Mepis, Sabayon, dyne:bolic, ... and around 100 or so others! See, e.g.
    • http://distro.ibiblio.org/pub/linux/distributions/
  • 9. Linux directory structure [1]
    • /
      • root directory of the entire system
    • /bin
      • holds system executables ('programs')
    • /sbin
      • holds system executables essential for starting up the system
    • /boot
      • holds the files (including the kernel) needed during the booting process
  • 10. Linux directory structure [2]
    • /dev
      • special directory that holds information regarding peripherals ('devices')
    • /home
      • the home directories for all users except root
    • /lib
      • system binary libraries, shared libraries and kernel module
    • /opt
      • where optional applications might go
  • 11. Linux directory structure [3]
    • /root
      • home directory for super user
    • /tmp
      • where temporary files are stored, usually emptied on system restart
    • /var
      • where variable system files go (system logging, file locks, printer spooling, mail spooling, web server, etc)
    • /etc
      • holds almost all configuration files
  • 12. Linux directory structure [4]
    • /mnt
      • 'mount point' for temporarily mounting other media, e.g. CD-ROM, USB drive, iPod, and other file systems
    • /usr
      • holds application programs, source code, additional libraries, wallpapers, icons, etc
    • /usr/bin
      • contains binary executables
  • 13. LINUX: the X environment
    • Beyond the shell ... users are 'cushioned' from the shell by a GUI:
        • X server: handles communication between the hardware (in particular the graphic card) and software (the X programs) ... and nothing else
        • X client: displays graphics and graphical frontends
        • 'windowmanager' (FVWM, Enlightenment, IceWM, ...): basic window functionality (menu, max, min, close, ...)
        • 'desktop environment' (KDE, Gnome, ...): clickable icons, taskbar, general “look'n'feel”. Desktops also usually come bundled with applications.
  • 14. The KDE desktop
  • 15. KDE with Compiz
  • 16. KDE with Kate
  • 17. Some Linux references
    • Linux Online (the place to start)
    • http://www.linux.org
    • History of Linux
    • https://netfiles.uiuc.edu/rhasan/linux/
    • The GNU Operating System
    • http://www.gnu.org
    • The Free Software Foundation
    • http://www.fsf.org