C U T B H P N

Lecture #2 - Windows and Linux Platforms

Web Resources, Supplementary Resources

Content:

This lecture will focus on a comparison of the Windows and Linux platforms. We will discuss common technologies on each and then focus a bit on scripting in both the Linux and Windows shells.

  1. Syllabus describes topics to be covered, reading material for you to digest before coming to class, and due dates for the assigned projects.
  2. Projects:

  3. Windows-Linux Comparison

  4. Windows Platform:

    There are two distinctive features of the Windows operating system.
    • The facility to create and manipulate graphical user interface windows is built into the OS. That is not true of either Unix or Linux. Linux depends on external facilities like Gnome and GTK+ (ubuntu) or KDE and Qt (kubuntu)
    • Windows is deeply integrated with the Microsoft Component Object Model (COM) technology. Many of the visible parts of windows and its tools are built with COM, e.g., the Windows shell, Windows Explorer, IE, WMI, Office, ...

      We will spend some time this semester to understand and use the COM model.

    Let's take a look at the structure of Windows:
    • Windows Scripting with PowerShell

    • Linux Platform:

      Linux has traditionally been, like Unix, a command line oriented system, with most user interactions occuring through a terminal window. While that is still more or less true for many users, there now are default graphical shells that are started at bootup. A unique feature of Linux is that it is free. There are many distributions of Linux, each with its own characteristics - still identifiably Linux, but with different shells and different installed utilities.

    • Linux Programming Environments

    • Linux Shell Commands

    • Linux Shell Operations

    • Linux Scripting with bash

      Note:

      • By default, scripts run in a child process, so you can't change the environment of the parent process by running a script!
      • You can run a script in the parent process like this: source myScript.

    • Some ubuntu documentation

    • References:

    CST strip