Each student will work independently on several tasks. This assignment will demonstrate the student's ability to:

Size: px
Start display at page:

Download "Each student will work independently on several tasks. This assignment will demonstrate the student's ability to:"

Transcription

1 ULI101 Assignment 2 - Summer 2009 Due: Saturday, August 8, 2009, Midnight Worth: 10% of final mark Each student will work independently on several tasks. This assignment will demonstrate the student's ability to: 1. Create and run a shell script (a2.scr) that does the following: Use hard and soft links which allow users to access files using different paths and filenames for the same file. Use the grep command (Global Regular Expression Print) to investigate file contents and display selective lines of text files. Use piping and redirection to execute powerful combinations of commands thereby accomplishing tasks that no single command is able to produce. 2. Create a simple web page containing some of the answers to this assignment Integrating Different Applications: All_In_One Introduction: Abacus College supports three Learning Management Systems (LMS). Their Information Technology Support Center (ITS Center) supports BLACKBOARD, Moodle and ANGEL. In their support effort the ITS Center found that all three have some identical files, however the path and file name is different depending on whether a user is using BLACKBOARD, Moodle or ANGEL. Interestingly, Abacus College also has a MATRIX server just like Seneca College. The three systems will be installed on the MATRIX server. Login to your home directory on matrix. Write a shell script to create a new directory called a2dir, in which the following 4 directories will be created: The paths and file names are in Table 1 below. Assume your home dir is /home/user (user=your login name) All_In_One BLACKBOARD Moodle ANGEL STUDENT /home/user/a2dir/bb/student /home/user/a2dir/mood/files/stud /home/user/a2dir/angel/stud COURSE /home/user/a2dir/bb/course /home/user/a2dir/mood/files/crse /home/user/a2dir/angel/crse GRADES /home/user/a2dir//bb/grades /home/user/mood/files/marks /home/user/a2dir/angel/results Table 1: File Names For Common Files in BLACKBOARD, Moodle and ANGEL

2 You are the LINUX administrator and you must set up the files and links so that a user can use BLACKBOARD, Moodle or ANGEL by sharing these files. You decide to put the STUDENT, COURSE AND GRADES files in the /home/user/a2dir/all_in_one directory. The other directories need to share the files that exist in All_In_One directory. However, you don t want to make copies of the files, but rather, you want to create links to those files to allow access to them General instructions: 1. You will create a shell script a2.scr, which contains all commands. You will run the script to make sure they work. You will the script file to the teacher, using the appropriate mail command in Linux. You may be asked to demonstrate the script in the lab. 2. Marks will be deducted if you don't specify your correct section letter in the subject line of your submission message. 3. Marks will be deducted if your URL does not activate when your professor clicks on the URL in your submission message. 4. Your professor may have alternate submission instructions. You are responsible for knowing how to submit the assignment for your section. You may lose marks if you don't submit the assignment in the required way.

3 Detailed Instructions For Each Step: A. STEP #0 (Webpage) First create a sub-directory nnnnn in your public_html directory, where nnnnn represents the last five digits of your Student Id. In this subdirectory create a hard link to your any of the previous xhtml webpages you have created and validated in previous labs or assignment.(call the hard link first_hlink.html), create a soft link to first_hlink.html (call the soft link first_slink.html), and create an html file (call the html file assignment2.html). The html page will meet the following specifications: 1. The web page will have a table with one column and 4 rows. 1. the first cell will contain "ULI101-A2-Section " without the quotes (replace with your section letter) 2. the next cell will contain your name 3. the next cell will contain a hypertext link to your hard link first_hlink.html and the link text will be first hard link (without the quotes) 4. the next cell will contain a hypertext link to your soft link first_slink.html and the link text will be first soft link (without the quotes) 2. When you click on either of the above hyperlinks you should see the main page of your validated xhtml page from an assignment or a lab. 3. Your page must be valid and display the W3C icon indicating successful validation. 4. You must make sure your home directory, your public_html directory and your public_html/nnnnn directory have following permissions for others (e.g. drwx-----x), i.e. 701, and no permissions for group. This will help to prevent unauthorized access to your assignment files. Do not share your student ID or location of your assignment files with other students. Go into your login home directory on matrix. Then go into a2dir to do the following commands: B. STEP #1 (Links) 1. Write a Linux command to remove the All_In_One directory and all of its contents (in case it already exists). LINUX would send any errors to the monitor by default. Trap any error messages so that they will not be displayed on the monitor, instead sending them to the file /dev/null 2. After the All_In_One directory and any contents have been removed (in the previous command), write a Linux command to create the All_In_One directory. 3. Write a Linux command to create 3 empty text files named STUDENT, COURSE and GRADES text files in the All_In_One directory. Then create 3 directories: BLACKBOARD MODDLE ANGEL. 4. Write a series of Linux commands to create hard links that will allow BLACKBOARD, Moodle or ANGEL users to use the STUDENT, COURSE AND GRADES text files found in the All_In_One directory.

4 Continue to put the following commands into your script file. Run the script to make sure it works. All this is happening in a2dir directory inside your home directory: C. STEP #2-A. (First Merge task) Answers On December 31 st of every year we copy the STUDENT file to STUDENTnnnn (for example: on December 31 st, 2006, we created a backup of STUDENT called STUDENT2006). We did the same for COURSE and GRADES. So we obtained three new files: STUDENT2006, COURSE2006 AND GRADES2006. These files are kept in the /home/user/a2dir/all_in_one directory. Write the commands necessary to send the contents of STUDENT2007, STUDENT2008 to the monitor. If there are any error messages, they should be sent to file /home/user/a2dir/all_in_one/stud_errors. D. STEP #2-B. (Second Merge task) Answers Write the commands necessary to send the contents of GRADES2007 and GRADES2008 to /home/user/a2dir/all_in_one/grades78 and append any error messages to a file called home/all_in_one/grades_errors. E. STEP #2-C. (Third Merge task) Answers Write the commands necessary to send the contents of the COURSE2007 AND COURSE2008 files to /home/users/a2dir/all_in_one/course78. Using pipes or redirection, the commands also sort any errors and append them to a file called /home/user/a2dir/all_in_one/course_errors. Hint: You can use a temporary file, and more than one command. F. STEP #3-A. (First Search of Errors file) Answers The ITS Center changes its policies and starts collecting all errors in one file /home/user/a2dir/all_in_one/all_errors. Write the commands necessary to examine the file /home/user/a2dir/all_in_one/all_errors and display to the monitor only the errors concerning missing files or directories (Hint: look for "no such "). We want the results to be sorted and displayed one page at a time. G. STEP #3-B. (Second Search of Errors file) Answers Write the Linux commands necessary to examine /home/user/a2dir/all_in_one/all_errors and display to the monitor only the lines that have the word "missing" and the word "directory" and the word home in that order, somewhere in the line. Hint 1: You can use piping more than once in the same line. Hint 2: You may also want to use redirection as well as piping to accomplish this requirement. Hint 3: Try testing your command by inserting data into a file and ensuring that the script works correctly by inspecting the output.

5 Assignment 2 submission template NOTE: follow the submission instructions here unless otherwise instructed by your professor Using the subject ULI101-A2-Section (replacing with your section letter, in upper case), send an to your professor from your learn account. The that you send should contain the following items in that order: 1. Link to the webpage you have created for this assignment 2. Copy and paste your script into the body of this 3. Type the following text at the bottom: I declare that this attached assignment is my/our own work in accordance with the Seneca Academic Policy. No part of this assignment has been copied manually or electronically from any other source (including web sites) or distributed to other students Name & Student ID

find starting-directory -name filename -user username

find starting-directory -name filename -user username Lab 7: Input and Output The goal of this lab is to gain proficiency in using I/O redirection to perform tasks on the system. You will combine commands you have learned in this course using shell redirection,

More information

Week Overview. Simple filter commands: head, tail, cut, sort, tr, wc grep utility stdin, stdout, stderr Redirection and piping /dev/null file

Week Overview. Simple filter commands: head, tail, cut, sort, tr, wc grep utility stdin, stdout, stderr Redirection and piping /dev/null file ULI101 Week 05 Week Overview Simple filter commands: head, tail, cut, sort, tr, wc grep utility stdin, stdout, stderr Redirection and piping /dev/null file head and tail commands These commands display

More information

UNIX files searching, and other interrogation techniques

UNIX files searching, and other interrogation techniques UNIX files searching, and other interrogation techniques Ways to examine the contents of files. How to find files when you don't know how their exact location. Ways of searching files for text patterns.

More information

Lab 4: Shell Scripting

Lab 4: Shell Scripting Lab 4: Shell Scripting Nathan Jarus June 12, 2017 Introduction This lab will give you some experience writing shell scripts. You will need to sign in to https://git.mst.edu and git clone the repository

More information

Laboratory Assignment #3 Eclipse CDT

Laboratory Assignment #3 Eclipse CDT Lab 3 September 12, 2010 CS-2303, System Programming Concepts, A-term 2012 Objective Laboratory Assignment #3 Eclipse CDT Due: at 11:59 pm on the day of your lab session To learn to learn to use the Eclipse

More information

CS197U: A Hands on Introduction to Unix

CS197U: A Hands on Introduction to Unix CS197U: A Hands on Introduction to Unix Lecture 11: WWW and Wrap up Tian Guo University of Massachusetts Amherst CICS 1 Reminders Assignment 4 was graded and scores on Moodle Assignment 5 was due and you

More information

Reading and manipulating files

Reading and manipulating files Reading and manipulating files Goals By the end of this lesson you will be able to Read files without using text editors Access specific parts of files Count the number of words and lines in a file Sort

More information

Moodle 3.1 Backup and Restore

Moodle 3.1 Backup and Restore Moodle 3.1 Backup and Restore You can only restore a backup into courses that you are enrolled in as a teacher. Be careful when restoring a course don t select Delete the contents of this course and then

More information

BIOINFORMATICS POST-DIPLOMA PROGRAM SUBJECT OUTLINE Subject Title: OPERATING SYSTEMS AND PROJECT MANAGEMENT Subject Code: BIF713 Subject Description:

BIOINFORMATICS POST-DIPLOMA PROGRAM SUBJECT OUTLINE Subject Title: OPERATING SYSTEMS AND PROJECT MANAGEMENT Subject Code: BIF713 Subject Description: BIOINFORMATICS POST-DIPLOMA PROGRAM SUBJECT OUTLINE Subject Title: OPERATING SYSTEMS AND PROJECT MANAGEMENT Subject Code: BIF713 Subject Description: This course provides Bioinformatics students with the

More information

Temple University Computer Science Programming Under the Linux Operating System January 2017

Temple University Computer Science Programming Under the Linux Operating System January 2017 Temple University Computer Science Programming Under the Linux Operating System January 2017 Here are the Linux commands you need to know to get started with Lab 1, and all subsequent labs as well. These

More information

Topic 2: More Shell Skills

Topic 2: More Shell Skills Topic 2: More Shell Skills Sub-topics: simple shell scripts (no ifs or loops yet) sub-shells quoting shell variables aliases bash initialization files I/O redirection & pipes text file formats 1 Reading

More information

CS 307: UNIX PROGRAMMING ENVIRONMENT FIND COMMAND

CS 307: UNIX PROGRAMMING ENVIRONMENT FIND COMMAND CS 307: UNIX PROGRAMMING ENVIRONMENT FIND COMMAND Prof. Michael J. Reale Fall 2014 Finding Files in a Directory Tree Suppose you want to find a file with a certain filename (or with a filename matching

More information

Please note that CNE 216 is a brand new course that has never been taught on the George campus; it will be taught for the first time in the fall of

Please note that CNE 216 is a brand new course that has never been taught on the George campus; it will be taught for the first time in the fall of Please note that CNE 216 is a brand new course that has never been taught on the George campus; it will be taught for the first time in the fall of 2015. The materials for this course are still being developed.

More information

Practical Session 0 Introduction to Linux

Practical Session 0 Introduction to Linux School of Computer Science and Software Engineering Clayton Campus, Monash University CSE2303 and CSE2304 Semester I, 2001 Practical Session 0 Introduction to Linux Novell accounts. Every Monash student

More information

CSC 2500: Unix Lab Fall 2016

CSC 2500: Unix Lab Fall 2016 CSC 2500: Unix Lab Fall 2016 IO Redirection Mohammad Ashiqur Rahman Department of Computer Science College of Engineering Tennessee Tech University Agenda Standard IO IO Redirection Pipe Various File Processing

More information

Student Manual How to Use Moodle

Student Manual How to Use Moodle Student Manual How to Use Moodle How to use ECT e-mail to access the Learning Management System You will learn through this guide how to add recovery mobile number to your e-mail and how to access your

More information

Database Administration Data Management

Database Administration Data Management CEMS Chemical Environmental Management System Database Administration Data Management Managing Data Editing Accounts Generic Forms Custom Reports Managing Data Database Administration Dashboard Layout

More information

CSE 390a Lecture 2. Exploring Shell Commands, Streams, and Redirection

CSE 390a Lecture 2. Exploring Shell Commands, Streams, and Redirection 1 CSE 390a Lecture 2 Exploring Shell Commands, Streams, and Redirection slides created by Marty Stepp, modified by Jessica Miller & Ruth Anderson http://www.cs.washington.edu/390a/ 2 Lecture summary Unix

More information

BIF713. Operating Systems & Project Management. Instructor: Murray Saul Webpage: murraysaul.wordpress.

BIF713. Operating Systems & Project Management. Instructor: Murray Saul   Webpage: murraysaul.wordpress. BIF713 Operating Systems & Project Management Instructor: Murray Saul E-mail: murray.saul@senecacollege.ca Webpage: murraysaul.wordpress.com Today's Topics Types of computer servers at Seneca College Introduction

More information

A Brief Introduction to the Linux Shell for Data Science

A Brief Introduction to the Linux Shell for Data Science A Brief Introduction to the Linux Shell for Data Science Aris Anagnostopoulos 1 Introduction Here we will see a brief introduction of the Linux command line or shell as it is called. Linux is a Unix-like

More information

A Quick Guide to Using Moodle version 2.6 Faculty Edition

A Quick Guide to Using Moodle version 2.6 Faculty Edition A Quick Guide to Using Moodle version 2.6 Faculty Edition Based on the Moodle participants handbook, edited and modified by Rev. Dr. Ellen Wondra and Gene Servillo. Refer all questions to: gservillo@bexleyseabury.edu

More information

Tutorial: Input Grades in Blackboard

Tutorial: Input Grades in Blackboard Tutorial: Input Grades in Blackboard Get into the Grade Center The following steps will lead you to the Full Grade Center page (❶ - ❽). ❶ Enter the URL: blackboard.indstate.edu ❷ Enter username and password

More information

King Abdulaziz University Faculty of Computing and Information Technology Computer Science Department

King Abdulaziz University Faculty of Computing and Information Technology Computer Science Department King Abdulaziz University Faculty of Computing and Information Technology Computer Science Department CPCS202, 1 st Term 2016 (Fall 2015) Program 5: FCIT Grade Management System Assigned: Thursday, December

More information

CIS 408 Internet Computing Sunnie Chung

CIS 408 Internet Computing Sunnie Chung Project #2: CIS 408 Internet Computing Sunnie Chung Building a Personal Webpage in HTML and Java Script to Learn How to Communicate Your Web Browser as Client with a Form Element with a Web Server in URL

More information

3344 Database Lab. 1. Overview. 2. Lab Requirements. In this lab, you will:

3344 Database Lab. 1. Overview. 2. Lab Requirements. In this lab, you will: 3344 Database Lab 1. Overview In this lab, you will: Decide what data you will use for your AngularJS project. Learn (or review) the basics about databases by studying (or skimming) a MySql WorkbenchTutorial

More information

Open up a terminal, make sure you are in your home directory, and run the command.

Open up a terminal, make sure you are in your home directory, and run the command. More Linux Commands 0.1 wc The Linux command for acquiring size statistics on a file is wc. This command can provide information from line count, to bytes in a file. Open up a terminal, make sure you are

More information

Creating and using Moodle Rubrics

Creating and using Moodle Rubrics Creating and using Moodle Rubrics Rubrics are marking methods that allow staff to ensure that consistent grading practices are followed, especially when grading as a team. They comprise a set of criteria

More information

Education Data System (EDS) Administration Manual

Education Data System (EDS) Administration Manual Education Data System (EDS) Administration Manual December 2017 Prepared by OSPI Customer Support Table of Contents Using Education Data System (EDS) Administration...2 Introduction...2 Overview of EDS

More information

CST8207: GNU/Linux Operating Systems I Lab Seven Linux User and Group Management. Linux User and Group Management

CST8207: GNU/Linux Operating Systems I Lab Seven Linux User and Group Management. Linux User and Group Management Student Name: YOUR NAME Lab Section: 011 012 013 or 014 Linux User and Group Management 1 Due Date - Upload to Blackboard by 8:30am Monday April 2, 2012 Submit the completed lab to Blackboard following

More information

CST8207: GNU/Linux Operating Systems I Lab Seven Linux User and Group Management. Linux User and Group Management

CST8207: GNU/Linux Operating Systems I Lab Seven Linux User and Group Management. Linux User and Group Management Student Name: Lab Section: Linux User and Group Management 1 Due Date - Upload to Blackboard by 8:30am Monday April 2, 2012 Submit the completed lab to Blackboard following the Rules for submitting Online

More information

Introduction Add Item Add Folder Add External Link Add Course Link Add Test Add Selection Text Editing...

Introduction Add Item Add Folder Add External Link Add Course Link Add Test Add Selection Text Editing... Table of Contents Introduction... 2 Add Item... 3 Add Folder... 3 Add External Link... 4 Add Course Link... 4 Add Test... 4 Add Selection... 5 Text Editing... 8 Manage... 9 Instructional Media and Design

More information

The Linux Command Line: A Complete Introduction, 1 st ed., by William E. Shotts, Jr., No Starch Press, 2012.

The Linux Command Line: A Complete Introduction, 1 st ed., by William E. Shotts, Jr., No Starch Press, 2012. Department of Mathematics and Computer Science Adelphi University Fall 2018 0145-275-001 Operating Systems Practicum Dr. R. M. Siegfried 407 Science (516)877-4482 http://home.adelphi.edu/~siegfried/cs271

More information

CpSc 1111 Lab 9 2-D Arrays

CpSc 1111 Lab 9 2-D Arrays CpSc 1111 Lab 9 2-D Arrays Overview This week, you will gain some experience with 2-dimensional arrays, using loops to do the following: initialize a 2-D array with data from an input file print out the

More information

Version Moodle Module v3.0 for Web Conferencing Configuration and Installation Guide

Version Moodle Module v3.0 for Web Conferencing Configuration and Installation Guide Version 12.5 Moodle Module v3.0 for Web Conferencing Configuration and Installation Guide June 1, 2013 Table of Contents Preface 1 Purpose of This Guide 1 Audience 1 Help and Other Resources 2 Technical

More information

LAB 8 (Aug 4/5) Unix Utilities

LAB 8 (Aug 4/5) Unix Utilities Aug 4/5 Due: Aug 11 in class Name: CSE number: LAB 8 (Aug 4/5) Unix Utilities The purpose of this lab exercise is for you to get some hands-on experience on using some fundamental Unix utilities (commands).

More information

Lab #12: Shell Scripting

Lab #12: Shell Scripting Lab #12 Page 1 of 11 Lab #12: Shell Scripting Students will familiarize themselves with UNIX shell scripting using basic commands to manipulate the le system. Part A Instructions: This part will be demonstrated

More information

1. What statistic did the wc -l command show? (do man wc to get the answer) A. The number of bytes B. The number of lines C. The number of words

1. What statistic did the wc -l command show? (do man wc to get the answer) A. The number of bytes B. The number of lines C. The number of words More Linux Commands 1 wc The Linux command for acquiring size statistics on a file is wc. This command provides the line count, word count and number of bytes in a file. Open up a terminal, make sure you

More information

CENG 334 Computer Networks. Laboratory I Linux Tutorial

CENG 334 Computer Networks. Laboratory I Linux Tutorial CENG 334 Computer Networks Laboratory I Linux Tutorial Contents 1. Logging In and Starting Session 2. Using Commands 1. Basic Commands 2. Working With Files and Directories 3. Permission Bits 3. Introduction

More information

CSC 101: Lab #1 Introduction and Setup Due Date: 5:00pm, day after your lab session

CSC 101: Lab #1 Introduction and Setup Due Date: 5:00pm, day after your lab session Name: WFU Email: Lab Section: Tuesday, 9:30 Tuesday, 12:00 Tuesday, 1:30 Tuesday, 3:00 Thursday, 3:00 CSC 101: Lab #1 Introduction and Setup Due Date: 5:00pm, day after your lab session Purpose: The purpose

More information

Lab 4: Bash Scripting

Lab 4: Bash Scripting Lab 4: Bash Scripting February 20, 2018 Introduction This lab will give you some experience writing bash scripts. You will need to sign in to https://git-classes. mst.edu and git clone the repository for

More information

EXPORTING GRADES TO THE REGISTRAR

EXPORTING GRADES TO THE REGISTRAR EXPORTING GRADES TO THE REGISTRAR A Blackboard Best Practices Guide The Blackboard Grade Center allows instructors to choose which total column to export to the registrar, and gives them all the tools

More information

MATLAB - Lecture # 4

MATLAB - Lecture # 4 MATLAB - Lecture # 4 Script Files / Chapter 4 Topics Covered: 1. Script files. SCRIPT FILE 77-78! A script file is a sequence of MATLAB commands, called a program.! When a file runs, MATLAB executes the

More information

CSE 390a Lecture 2. Exploring Shell Commands, Streams, Redirection, and Processes

CSE 390a Lecture 2. Exploring Shell Commands, Streams, Redirection, and Processes CSE 390a Lecture 2 Exploring Shell Commands, Streams, Redirection, and Processes slides created by Marty Stepp, modified by Jessica Miller & Ruth Anderson http://www.cs.washington.edu/390a/ 1 2 Lecture

More information

MOODLE 2.7 WHAT S NEW?

MOODLE 2.7 WHAT S NEW? MOODLE 2.7 WHAT S NEW? INTRODUCTION The recent update of our LMS, Moodle, sees some upgrades and minor changes to interface, functionality, and tools. This document outlines some of the changes in version

More information

The Text Editor appears in many locations throughout Blackboard Learn and is used to format text. For example, you can use it to:

The Text Editor appears in many locations throughout Blackboard Learn and is used to format text. For example, you can use it to: About the Text Editor The Text Editor appears in many locations throughout Blackboard Learn and is used to format text. For example, you can use it to: Add items to Content Areas, Learning Modules, Lesson

More information

CSE 15L Winter Midterm :) Review

CSE 15L Winter Midterm :) Review CSE 15L Winter 2015 Midterm :) Review Makefiles Makefiles - The Overview Questions you should be able to answer What is the point of a Makefile Why don t we just compile it again? Why don t we just use

More information

1. To access the Course settings page, click Edit settings in the Administration block.

1. To access the Course settings page, click Edit settings in the Administration block. Course Management Managing Course Design Configuring Course Settings The course setting page contains all of the important options for your course such as making the course available to students, and enabling

More information

Introduction to Programming II Winter, 2015 Assignment 5 (Saturday, April 4, 2015: 23:59:59)

Introduction to Programming II Winter, 2015 Assignment 5 (Saturday, April 4, 2015: 23:59:59) 60-4 Introduction to Programming II Winter, 205 Assignment 5 (Saturday, April 4, 205: 2:59:59) This is a lengthy assignment description. Take time to read it carefully and thoroughly. Dynamic Linked Lists

More information

The print queue was too long. The print queue is always too long shortly before assignments are due. Print your documentation

The print queue was too long. The print queue is always too long shortly before assignments are due. Print your documentation Chapter 1 CS488/688 F17 Assignment Format I take off marks for anything... A CS488 TA Assignments are due at the beginning of lecture on the due date specified. More precisely, all the files in your assignment

More information

CMSC 201 Fall 2016 Homework 6 Functions

CMSC 201 Fall 2016 Homework 6 Functions CMSC 201 Fall 2016 Homework 6 Functions Assignment: Homework 6 Functions Due Date: Wednesday, October 26th, 2016 by 8:59:59 PM Value: 40 points Collaboration: For Homework 6, collaboration is not allowed

More information

HHH Instructional Computing Fall

HHH Instructional Computing Fall Quick Start Guide for School Web Lockers Teacher log-on is the same as for Infinite Campus Student log-on is the same initial log on to the network except no school year is required before their user name

More information

Part 1: Basic Commands/U3li3es

Part 1: Basic Commands/U3li3es Final Exam Part 1: Basic Commands/U3li3es May 17 th 3:00~4:00pm S-3-143 Same types of questions as in mid-term 1 2 ls, cat, echo ls -l e.g., regular file or directory, permissions, file size ls -a cat

More information

EECS2031 Winter Software Tools. Assignment 1 (15%): Shell Programming

EECS2031 Winter Software Tools. Assignment 1 (15%): Shell Programming EECS2031 Winter 2018 Software Tools Assignment 1 (15%): Shell Programming Due Date: 11:59 pm on Friday, Feb 9, 2018 Objective In this assignment, you will be writing four shell programs. The first program

More information

EECS 2031E. Software Tools Prof. Mokhtar Aboelaze

EECS 2031E. Software Tools Prof. Mokhtar Aboelaze EECS 2031 Software Tools Prof. Mokhtar Aboelaze Footer Text 1 EECS 2031E Instructor: Mokhtar Aboelaze Room 2026 CSEB lastname@cse.yorku.ca x40607 Office hours TTH 12:00-3:00 or by appointment 1 Grading

More information

GRAPHIC WEB DESIGNER PROGRAM

GRAPHIC WEB DESIGNER PROGRAM NH128 HTML Level 1 24 Total Hours COURSE TITLE: HTML Level 1 COURSE OVERVIEW: This course introduces web designers to the nuts and bolts of HTML (HyperText Markup Language), the programming language used

More information

Google Classroom Help Sheet

Google Classroom Help Sheet 1 Google Classroom Help Sheet Table of Contents Introduction Signing into Google Classroom Creating a Class Changing a Class Theme Adding a Teacher Photo to the Class Renaming or Deleting a Class Adding

More information

Introduction. File System. Note. Achtung!

Introduction. File System. Note. Achtung! 3 Unix Shell 1: Introduction Lab Objective: Explore the basics of the Unix Shell. Understand how to navigate and manipulate file directories. Introduce the Vim text editor for easy writing and editing

More information

Scripting. More Shell Scripts Loops. Adapted from Practical Unix and Programming Hunter College

Scripting. More Shell Scripts Loops. Adapted from Practical Unix and Programming Hunter College Scripting More Shell Scripts Loops Adapted from Practical Unix and Programming Hunter College Copyright 2006 2009 Stewart Weiss Loops: for The for script version 1: 1 #!/bin/bash 2 for i in 1 2 3 3 do

More information

Update and Benefit from Personal Webpage at

Update and Benefit from Personal Webpage at Objective of the Guideline: This guideline is developed to assist faculty members to easily present their current research, capabilities, and innovations at the Civil Department website. This can help

More information

5/20/2007. Touring Essential Programs

5/20/2007. Touring Essential Programs Touring Essential Programs Employing fundamental utilities. Managing input and output. Using special characters in the command-line. Managing user environment. Surveying elements of a functioning system.

More information

Unix as a Platform Exercises + Solutions. Course Code: OS 01 UNXPLAT

Unix as a Platform Exercises + Solutions. Course Code: OS 01 UNXPLAT Unix as a Platform Exercises + Solutions Course Code: OS 01 UNXPLAT Working with Unix Most if not all of these will require some investigation in the man pages. That's the idea, to get them used to looking

More information

AIS Student Guide for submitting a Turnitin Assignment in Moodle

AIS Student Guide for submitting a Turnitin Assignment in Moodle AIS Student Guide for submitting a Turnitin Assignment in Moodle Before you start Turnitin currently accepts the following file types for upload into an assignment: Microsoft Word (.doc and.docx) Plain

More information

Consider the following program.

Consider the following program. Consider the following program. #include int do_sth (char *s); main(){ char arr [] = "We are the World"; printf ("%d\n", do_sth(arr)); } int do_sth(char *s) { char *p = s; while ( *s++!= \0 )

More information

Portfolios - Student. Accessing Portfolios in Blackboard. Creating a Portfolio. Editing a Portfolio

Portfolios - Student. Accessing Portfolios in Blackboard. Creating a Portfolio. Editing a Portfolio Blackboard Portfolios Blackboard's Portfolio tool is designed to help you to maintain documentation of your education, samples of your work, and evidence of your skills, to tell a carefully crafted story

More information

Introduction to Linux (Part I) BUPT/QMUL 2018/03/14

Introduction to Linux (Part I) BUPT/QMUL 2018/03/14 Introduction to Linux (Part I) BUPT/QMUL 2018/03/14 Contents 1. Background on Linux 2. Starting / Finishing 3. Typing Linux Commands 4. Commands to Use Right Away 5. Linux help continued 2 Contents 6.

More information

CS101 Lecture 04: How the Web Works Publishing Web pages. What You ll Learn Today

CS101 Lecture 04: How the Web Works Publishing Web pages. What You ll Learn Today CS101 Lecture 04: How the Web Works Publishing Web pages Aaron Stevens 28 January 2011 1 What You ll Learn Today How does the WWW work? What are web servers, anyway? So I got some HTML pages and stuff.

More information

Faculty Web Site with WCM

Faculty Web Site with WCM Faculty Web Site with WCM WORKSHOP DESCRIPTION... 1 Overview 1 Prerequisites 1 Objectives 1 FACULTY WEB SITE WITH WCM... 2 Introduction 2 Getting Started 3 Understanding the Template 4 The WCM Layout

More information

Blackboard 5 Level One Student Manual

Blackboard 5 Level One Student Manual Blackboard 5 Level One Student Manual Blackboard, Inc. 1899 L Street NW 5 th Floor Washington DC 20036 Copyright 2000 by Blackboard Inc. All rights reserved. No part of the contents of this manual may

More information

CSC209H Lecture 1. Dan Zingaro. January 7, 2015

CSC209H Lecture 1. Dan Zingaro. January 7, 2015 CSC209H Lecture 1 Dan Zingaro January 7, 2015 Welcome! Welcome to CSC209 Comments or questions during class? Let me know! Topics: shell and Unix, pipes and filters, C programming, processes, system calls,

More information

Introduction: What is Unix?

Introduction: What is Unix? Introduction Introduction: What is Unix? An operating system Developed at AT&T Bell Labs in the 1960 s Command Line Interpreter GUIs (Window systems) are now available Introduction: Unix vs. Linux Unix

More information

Managing Course Content Using a Personal Repository. Managing Internet-Based Resources in Moodle. Managing Your Own Resources in Moodle

Managing Course Content Using a Personal Repository. Managing Internet-Based Resources in Moodle. Managing Your Own Resources in Moodle Managing Course Content Using a Personal Repository Dr. Rick Jerz The University of Iowa 1 Managing Internet-Based Resources in Moodle Create a URL link to them in Moodle Examples Wikipedia YouTube Amazon

More information

Topic 2: More Shell Skills. Sub-Topic 1: Quoting. Sub-Topic 2: Shell Variables. Difference Between Single & Double Quotes

Topic 2: More Shell Skills. Sub-Topic 1: Quoting. Sub-Topic 2: Shell Variables. Difference Between Single & Double Quotes Topic 2: More Shell Skills Sub-Topic 1: Quoting Sub-topics: 1 quoting 2 shell variables 3 sub-shells 4 simple shell scripts (no ifs or loops yet) 5 bash initialization files 6 I/O redirection & pipes 7

More information

TestOut EduApp Integration Guide

TestOut EduApp Integration Guide 1 TestOut EduApp Integration Guide Revised 11-21-2018 2 TABLE OF CONTENTS Setting up the TestOut EduApp in Canvas (Canvas Admins)... 3 Creating a Developer Key... 3 Configuring the EduApp... 6 Creating

More information

Files

Files http://www.cs.fsu.edu/~langley/cop3353-2013-1/reveal.js-2013-02-11/02.html?print-pdf 02/11/2013 10:55 AM Files A normal "flat" file is a collection of information. It's usually stored somewhere reasonably

More information

Moodle Morsels from Sandy & Inkie. b. Click (Log in) on the upper right c. You will use your stpsb login, which is how you login to a computer

Moodle Morsels from Sandy & Inkie. b. Click (Log in) on the upper right c. You will use your stpsb login, which is how you login to a computer 1. To login to Moodle: a. https://moodle.stpsb.org Moodle Morsels from Sandy & Inkie b. Click (Log in) on the upper right c. You will use your stpsb login, which is how you login to a computer 2. Moodle

More information

CST8207: GNU/Linux Operating Systems I Lab Six Linux File System Permissions. Linux File System Permissions (modes) - Part 1

CST8207: GNU/Linux Operating Systems I Lab Six Linux File System Permissions. Linux File System Permissions (modes) - Part 1 Student Name: Lab Section: Linux File System Permissions (modes) - Part 1 Due Date - Upload to Blackboard by 8:30am Monday March 12, 2012 Submit the completed lab to Blackboard following the Rules for

More information

Blackboard Learn Grade Integration with Banner

Blackboard Learn Grade Integration with Banner Blackboard Learn Grade Integration with Banner Contents General Information about the Integration of Grades in Blackboard with the Banner Grade Entry Page... 2 Access the Blackboard Grade Center... 3 &

More information

Computer Systems and Architecture

Computer Systems and Architecture Computer Systems and Architecture Stephen Pauwels Computer Systems Academic Year 2018-2019 Overview of the Semester UNIX Introductie Regular Expressions Scripting Data Representation Integers, Fixed point,

More information

Faculty Guide to Blackboard

Faculty Guide to Blackboard Faculty Guide to Blackboard August 2012 1 Table of Contents Description of Blackboard... 3 Uses of Blackboard... 3 Hardware Configurations and Web Browsers... 3 Logging Into Blackboard... 3 Customizing

More information

Google Classroom Help Sheet

Google Classroom Help Sheet 1 Google Classroom Help Sheet Table of Contents Introduction Signing into Google Classroom Creating a Class Changing a Class Theme Adding a Teacher Photo to the Class Renaming or Deleting a Class Adding

More information

Grapevine web hosting user manual. 12 August 2005

Grapevine web hosting user manual. 12 August 2005 Grapevine web hosting user manual 12 August 2005 Grapevine web hosting user manual 2 Contents Contents... 2 Introduction... 4 System features... 4 How it looks... 5 Main navigation... 5 Reports... 6 Web

More information

Building Content elearning Blackboard Learn 9.1 for Faculty

Building Content elearning Blackboard Learn 9.1 for Faculty In the guide for adding content to both Content Folders and Learning Modules. Items: Items are versatile content types that can employ a variety of media and materials (P.1) Files: Single file uploads

More information

Review of Fundamentals. Todd Kelley CST8207 Todd Kelley 1

Review of Fundamentals. Todd Kelley CST8207 Todd Kelley 1 Review of Fundamentals Todd Kelley kelleyt@algonquincollege.com CST8207 Todd Kelley 1 GPL the shell SSH (secure shell) the Course Linux Server RTFM vi general shell review 2 These notes are available on

More information

LAB 8 (Aug 4/5) Unix Utilities

LAB 8 (Aug 4/5) Unix Utilities Aug 4/5 Due: Aug 11 in class Name: CSE number: LAB 8 (Aug 4/5) Unix Utilities The purpose of this lab exercise is for you to get some hands-on experience on using some fundamental Unix utilities (commands).

More information

CST Lab #5. Student Name: Student Number: Lab section:

CST Lab #5. Student Name: Student Number: Lab section: CST8177 - Lab #5 Student Name: Student Number: Lab section: Working with Regular Expressions (aka regex or RE) In-Lab Demo - List all the non-user accounts in /etc/passwd that use /sbin as their home directory.

More information

Sub-Topic 1: Quoting. Topic 2: More Shell Skills. Sub-Topic 2: Shell Variables. Referring to Shell Variables: More

Sub-Topic 1: Quoting. Topic 2: More Shell Skills. Sub-Topic 2: Shell Variables. Referring to Shell Variables: More Topic 2: More Shell Skills Plan: about 3 lectures on this topic Sub-topics: 1 quoting 2 shell variables 3 sub-shells 4 simple shell scripts (no ifs or loops yet) 5 bash initialization files 6 I/O redirection

More information

Bash Script. CIRC Summer School 2015 Baowei Liu

Bash Script. CIRC Summer School 2015 Baowei Liu Bash Script CIRC Summer School 2015 Baowei Liu Filename Expansion / Globbing Expanding filenames containing special characters Wild cards *?, not include... Square brackets [set]: - Special characters:!

More information

When talking about how to launch commands and other things that is to be typed into the terminal, the following syntax is used:

When talking about how to launch commands and other things that is to be typed into the terminal, the following syntax is used: Linux Tutorial How to read the examples When talking about how to launch commands and other things that is to be typed into the terminal, the following syntax is used: $ application file.txt

More information

Table of contents. Our goal. Notes. Notes. Notes. Summer June 29, Our goal is to see how we can use Unix as a tool for developing programs

Table of contents. Our goal. Notes. Notes. Notes. Summer June 29, Our goal is to see how we can use Unix as a tool for developing programs Summer 2010 Department of Computer Science and Engineering York University Toronto June 29, 2010 1 / 36 Table of contents 1 2 3 4 2 / 36 Our goal Our goal is to see how we can use Unix as a tool for developing

More information

Topic 2: More Shell Skills

Topic 2: More Shell Skills Topic 2: More Shell Skills Sub-topics: 1 quoting 2 shell variables 3 sub-shells 4 simple shell scripts (no ifs or loops yet) 5 bash initialization files 6 I/O redirection & pipes 7 aliases 8 text file

More information

CIS 228 (Spring, 2012) Final, 5/17/12

CIS 228 (Spring, 2012) Final, 5/17/12 CIS 228 (Spring, 2012) Final, 5/17/12 Name (sign) Name (print) email I would prefer to fail than to receive a grade of or lower for this class. Question 1 2 3 4 5 6 7 8 9 A B C D E TOTAL Score CIS 228,

More information

UCD School of Information and Library Studies. IS30020: Web Publishing

UCD School of Information and Library Studies. IS30020: Web Publishing UCD School of Information and Library Studies IS30020: Web Publishing Module Coordinator: Dr Judith Wusteman Office: SILS 110, Email: judith.wusteman@ucd.ie, Tel: 716 7612 Office hour Semester 1 (Sept

More information

FIT 100: Fluency with Information Technology

FIT 100: Fluency with Information Technology FIT 100: Fluency with Information Technology Lab 2: Creating Directories and Navigating Directory Structures (or, Where am I, where are my files, and how do I put my files somewhere else?) Local vs. Remote

More information

2018/9 Guidelines for Electronic Exam Paper Submission

2018/9 Guidelines for Electronic Exam Paper Submission 2018/9 Guidelines for Electronic Exam Paper Submission August 2018 Before submitting exams Please check that exams are as accurate as possible before submission. A checklist of common errors can be found

More information

VeriGuide. VeriGuide Academic Student User Manual. (Updated November 15, 2010) Chapter 1: Login 3. Create Account 3. Enter URL 3.

VeriGuide. VeriGuide Academic Student User Manual. (Updated November 15, 2010) Chapter 1: Login 3. Create Account 3. Enter URL 3. Academic Student User Manual (Updated November 15, 2010) Chapter 1: Login 3 Create Account 3 Enter URL 3 Login 3 Select Service 4 Select School 4 Chapter 2: Upload Assignment 5 Select Upload Assignment

More information

C Shell Tutorial. Section 1

C Shell Tutorial. Section 1 C Shell Tutorial Goals: Section 1 Learn how to write a simple shell script and how to run it. Learn how to use local and global variables. About CSH The Barkley Unix C shell was originally written with

More information

Overview. Creating a Web Link in Blackboard. Tk20 Campus Wide. Step 1: Getting Started. Navigation Guide (Faculty) _ Creating a Web Link in Blackboard

Overview. Creating a Web Link in Blackboard. Tk20 Campus Wide. Step 1: Getting Started. Navigation Guide (Faculty) _ Creating a Web Link in Blackboard Overview For purposes of program-level student learning outcomes assessment, students will submit key coursework assignments, and faculty will assess those assignments, in Tk20. Using Learning Tools Interoperability

More information

Exercise 1: Basic Tools

Exercise 1: Basic Tools Exercise 1: Basic Tools This exercise is created so everybody can learn the basic tools we will use during this course. It is really more like a tutorial than an exercise and, you are not required to submit

More information

Using Turnitin for electronic submission and marking of assignments: guidance paper for staff.

Using Turnitin for electronic submission and marking of assignments: guidance paper for staff. Using Turnitin for electronic submission and marking of assignments: guidance paper for staff. College of Nursing, Midwifery and Health Care June 2011 Catherine Lynch amended April 2012, February 2013,

More information

Website Setup & Assignment Publishing (Tomcat)

Website Setup & Assignment Publishing (Tomcat) In this course, students upload assignments to their websites hosted on the coislinux.austincc.edu server (in addition to submitting to Blackboard (Bb)). Each student is supplied with a password protected

More information