#!/bin/bash ############################################################################## ### ### ### Welcome to OPS235 ### ### ### ### Simple online tutorial welcoming students to OPS235 course, ### ### which discusses the layout of the course, as well as ### ### how to prepare for the labs, and various "do's" and "don'ts". ### ### ### ### Author: Murray Edward Saul ### ### Date: January, 2012 ### ### ### ############################################################################## cd ~ function exitScript() { clear cat <<+ ATTENTION: You have pressed the key combination which has terminated this program. If you want to return to this welcome tutorial you must run this program again.... + read -p "$(echo -e "\e[0;32mPress to return to main WIKI\e[m")" null exit 1 } trap exitScript 2 ### Banner Advising User to Exit & Maximize Shell Window ### clear cat <<+ ********************************* * * * YOUR SSH WINDOW SHOULD * * BE MAXIMIZED BEFORE USING * * THIS TUTORIAL. * * * * $(echo -e "\e[0;32mPRESS TO ABORT\e[m") * * $(echo -e "\e[0;32mPRESS TO CONTINUE\e[m") * * * ********************************* + ### pause for user to press ENTER to continue ### stty erase "^H" read null ### Opening Banner (purpose & author) ### clear cat <<+ WELCOME TO OPS235: Introduction to Open System Servers! The purpose of this simple online tutorial is to welcome students to this course, how to use our resources, and how to prepare for the next lab... + read -p "$(echo -e "\e[0;32mPress to continue or to exit\e[m")" null clear cat <<+ INTRODUCTION TO THE LINUX OS Welcome to "Linux-UNIX Operating Systems"! This introductory course provides the student with essentials to create, run, maintain, and secure programs and data within the Linux operating system. Some sections of this tutorial provide information, while other sections prompt the user to issue Linux commands. + read -p "$(echo -e "\e[0;32mPress to continue\e[m")" null clear cat <<+ WHY STUDY LINUX / UNIX? Unfortunately, there have been many misconceptions regarding the Linux and Unix operating systems over many years... One common misconception is that Linux and Unix are only Command Linux Interfaces (CLIs), which appear to be a "backwards step" from more user-friendly operating systems such as MS Windows or MAC computers, and other "hand-held" devices. Additional complaints arise from dealing with "unfriendly" Linux/Unix experts when asked simple Linux questions from new users (aka "Newbies"). + read -p "$(echo -e "\e[0;32mPress to continue\e[m")" null clear cat <<+ When taking the time to objectively learn and use Linux/Unix, many truths can eventually be realized: - Not only does Unix/Linux have a Graphical User Interface (GUI), but it can separate the GUI into levels (layers) that provide more flexibility. For example, specifying different window managers for window behaviour, and specify different Desktop Environments. - Since Unix evolved with ArpaNet (and later, the Internet), it was designed for networking (eg. TCP/IP transports). Linux obviously inherited these characteristics from Unix. Also, many utilities (commands) were created to take advantage of the Interent (eg. ssh, sftp, irc, web-servers, etc). - The Unix/Linux operating systems have been recognised for many years as a cost-effective and efficient platform developping software (porting developped software to other OS platforms). + read -p "$(echo -e "\e[0;32mPress to continue\e[m")" null clear cat <<+ BUILDING A COMMUNITY Although user-friendly versions of Linux (such as Ubuntu) are gaining popularity, Linux and Unix continue to be associated as a "techie" operating system. The popularity of these types of operating systems depend on "ease of use" and "ease of access to help" to all users (both experts and "newbies"). Common areas of help for Linux continue to be "Web-page Resources", "man pages", "HOWTO" Resources, WIKIs, "IRC" chat lines, as well as e-mail or web-based forums. + read -p "$(echo -e "\e[0;32mPress to continue\e[m")" null clear cat <<+ "COVERING ALL THE BASES" Regardless of your operating system "preference", it is beneficial for the IT professional to be proficient in various operating systems. For example, many computer systems combine different operating systems to work together to integrate file systems, printing resources and backup. IT professionals that are proficient in MS Windows, Unix, and Linux are greatly in demand (both in terms of pay levels and employment opportunities). + read -p "$(echo -e "\e[0;32mPress to continue\e[m")" null clear cat <<+ PURPOSE OF AN OPERATING SYSTEM Regardless of the type of platform (MS Windows, MAC, Unix, Linux), they all fullfill the same objectives: - Acts as an "extended machine" (i.e. Kernal controls hardware, contain commands (utilities) to allow user to interface with the operating system, and hence application software. - "Manage resources" such as Hardware / Input-Output devices (eg. hard drive / file systems, printers, terminal, and communication ports), processes and memory management. + read -p "$(echo -e "\e[0;32mPress to continue\e[m")" null clear