HIP* - For office use Only DGL

Course Syllabus 

Spring 2018 CpSc 207
Shell Commands and Scripting

Instructor: Dr. David Dailey

Meeting Times

Section 01: MWF 10:00 - 10:50 in ATSH 224

Instructor's Office Hours: MWF 11-12 or by appointment

Instructor's Office location:   ATSH 248

Instructor's e-mail address:   david.dailey@sru.edu

Catalog Description:

This course introduces the student to prevalent operating systems, command line interfaces to operating systems, and shell scripting. The course includes user level commands, file management, system utilities, and task management. The relationship between hardware and the operating system is discussed conceptually.

Prerequisites: ASSD 110

Semester Hours Credit: 3

Required texts: none

Required reading: Class web page found at http://srufaculty.sru.edu/david.dailey/cs207/index.htm

Computing labs: The class will primarily use equipment provided in the classroom; but for most coursework other machines on campus may be used. To use UNIX, students will telnet to a Linux server (called "obsidian").

Materials used:

Microsoft Windows
UNIX or Linux
Web-browser:  MS Internet Explorer or Edge , Firefox, Opera, Chrome or Safari.
E-mail software (your standard SRU e-mail address is preferred).

Method of determining final grade: Assignments: 30%, exams 70%.

Note: Dr. Dailey is the instructor of record for this class.  Only the instructor of record can properly grade coursework and issue midterm and final grades.

Exams: two regular exams, each worth 20%, and a final exam, worth 30%. 

Final exam: (based on http://www.sru.edu/academics/academic-services/academic-records/class-and-final-exam-schedules )

Wednesday , May 9th, 10:30 am - 12:30 pm

Attendance policy:  See Slippery Rock University's Attendance Policy

Late work: Any homework that is turned in late must contain the word LATE at the end of the subject line in e-mail. The grade on any late assignment will be dropped by 20%. Assignments more than one week late will not be accepted.

Make-up exams: It is the student's responsibility a) to notify the instructor beforehand if he or she must miss an exam due to illness or family emergency and b) to take the initiative in finding a time suitable to the instructor that the exam (or a substitute) may be made-up.

Academic Integrity: All academic work for this course must consist of your own work. See the University's statement on Academic Integrity . Though it remains the student's responsibility to read and understand the University's expectations here, I wish to emphasize the following excerpts from that statement:

"It is expected that students engage in the following pre-emptive behaviors:

The fact that this course is in Computer Science does not lessen the student's responsibility to make sure that work submitted for a grade is his or her own work. Again, from the University's statement on Academic Integrity:

The University gives many examples of academic dishonesty, including:

 Note that the University's statement on Academic Integrity also includes language pertaining to Intellectual Property law:

This is particularly relevant in computer science. Using someone else's code or programs is contrary to university policy and, in many cases, contrary to US and/or international law. There is utterly no reason you should ever have a physical or electronic copy of anyone else's assignment in your possession.  

Assignments and tasks: Each assignment will be explained in class. Any uncertainties students may have about an assignment should be raised at the time the assignment is made. Students may be required to use e-mail for certain assignments; assignments submitted via e-mail must include the course number, the student's last name and the assignment number in the subject line of the message. Assignments submitted through e-mail that do not follow this format are not accepted.

Several homework assignments will be given during the semester. These assignments are to be completed individually by each student. Students may be called upon to present and explain their work to the class or to the instructor and should be consistently and adequately prepared to do so.

As the semester progresses, additional details about assignments may be found on the class web page.

Tentative Schedule of Topics  The timeline for this course will need to be adjusted for severe weather events or other unforeseen circumstances. The instructor reserves the right to change the topics covered or the order in which they are covered at his/her discretion. 

Week 1 --  Course introduction: Overview of SRU computing environment and computer science labs. Overview of basic hardware. Web browsing. Operating systems, applications, documents. Command driven vs. GUI interface. Examples from DOS, Windows, and UNIX

Assignment 1: verify ability to login into lab machines, Linux and to use e-mail.

Week 2 -- Files, folders, directories, and paths. Networking revisited: Linux, Web, protocol, addressing.

Week 3 --  Operating systems revisited. Getting started with UNIX.

Weeks 4 and 5 --  Directory structure and basic commands: ls, man, cd, rm, cp, mv, cat, more, touch

Week 6 --  echo, tail, head; redirection and pipes

Exam 1: Somewhere around week 6.

Weeks 7 and 8 --  Commands for file and stream manipulation: grep, 

Week 9 --  more on wildcards and grep. sort, cut, paste, uniq. Simple loops.

Week 10 and 11 -- Stream editing: sed

Exam 2:  somewhere around week 11.

Week 12 --  UNIX shells, loops and scripts.

Weeks 13-15 --  Advanced topics: Awk, more on loops and scripts. 

Computer Science Department
Course Competency Plan

Catalog Description

This course introduces the student to prevalent operating systems, command line interfaces to operating systems, and shell scripting. The course includes user level commands, file management, system utilities, and task management. The relationship between hardware and the operating system is discussed conceptually.

Prerequisite: ASSD 110


Course Outcomes

This course and its outcomes support the Computing Learning Outcomes of Problem Solving and Critical Thinking (PS&CT) and Ethical and Professional Responsibilities (E&PR). These Computing Outcomes are tied directly to the University Wide Outcomes of Critical Thinking and Problem Solving and Values and Ethics.

Program Objectives Assessed in CPSC 207

Learning Outcomes Assessed Course Objectives
PS & CT b. Integrate design and implementation principles to develop effective applications 1. Identify and use system utilities to manage files, processes, network connections and other resources on two computing platforms
E & PR b. Recognize important legal issues and demonstrate appropriate social responsibilities in information technology 2. Understand the basic concepts on system and network security and use the related system tools
E & PR c. Demonstrate an awareness of the codes of professional ethics in the information technology industry 3. Recognize the ethical, legal, and social implications of system deployment
E & PR e. Recognize the need for continuing professional development 4. Use new tools and utilities in the solution for information technology problems


Title IX: Slippery Rock University and its faculty are committed to assuring a safe and productive educational environment for all students. In order to meet this commitment and to comply with Title IX of the Education Amendments of 1972 and guidance from the Office for Civil Rights, the University requires faculty members to report incidents of sexual violence shared by students to the University's Title IX Coordinator. The only exceptions to the faculty member's reporting obligation are when incidents of sexual violence are communicated by a student during a classroom discussion, in a writing assignment for a class, or as part of a University-approved research project. Faculty members are obligated to report sexual violence or any other abuse of a student who was, or is, a child (a person under 18 years of age) when the abuse allegedly occurred to the person designated in the University protection of minors policy. Information regarding the reporting of sexual violence and the resources that are available to victims of sexual violence is set forth at: http://www.sru.edu/offices/diversity-and-equal-opportunity/sexual-misconduct-and-victim-resources.