cis132 syl
TRANSCRIPT
-
7/28/2019 Cis132 Syl
1/5
BRISTOLCOMMUNITY COLLEGE
Computer Information Systems Department
CIS132 - Introduction to UNIX/Linux and Shell Programming
Instructor: Silvino C. Ferreira E-Mail: [email protected]
Office: K216 Web Page: http://www.devferr.com/bcc
Telephone: 508-678-2811 ext. 2047
I. Catalog Description
This course introduces students to the fundamentals of the UNIX/Linux operating systemand shell programming. It provides an overview of the history of UNIX/Linux and anexplanation of operating systems. The course covers in detail basic commands, the vi editor ,
the file structure, the shell environment and shell scripts.Prerequisite: CIS 121 or permission of the instructor.
II. Objectives
Provide the student with the skills necessary to become a user of a powerful, fast growing,multitasking, open operating system which is currently used on all types of computers frommicros to mainframes. The course will prepare the student for programming in C, UNIX/Linux system administration, networking and communications
Upon completion of this course, the students should be able to do the following:
1. Login to a Unix / Linux system using secure shell.2. Define and understand absolute verses relative path names.3. Run basic commands from the shell prompt.4. Get help for known commands.5. Define the purpose of a the shell6. Create, change to and remove directories.7. Use file name substitution at the command line.8. Define and use in a command line redirection and piping9. Use standard in, standard out and standard error on a command line10.Use the vi editor
11.Create regular expressions and know when and how to use them.12.Change owner, group and permissions at the command line13.Create a shell script and execute it.14.Create system variables and know how and when to use them in a shell script.15.The use of command arguments in a shell script.16.Use looping and decision statements in a shell script17.Allow a shell script to prompt the user and get information from the command line.
Syllabus CIS132 Page 1 of 5
mailto:[email protected]://www.devferr.com/bcchttp://www.devferr.com/bccmailto:[email protected] -
7/28/2019 Cis132 Syl
2/5
III. Texts
UNIX Shell Programmingby Stephen G. Kochan and Patrick H. WoodHayden BooksISBN: 0-672-32490-3
IV. Course OutlineWeek Topics
1 Logging On to Linux Using SSHIntroduction to Basic Command Format
Working with FilesUsing the vi text editor.
Shell Commands
cat, cp, date, echo, ls, man, mv, passwd, rm, wc, who, whoami, vi
2 Working with Files and DirectoriesFilename Substitution and Wild Cards
Creating a Shell ScriptStandard Input, Output & ErrorPipes and redirection: |, >,
-
7/28/2019 Cis132 Syl
3/5
9 More Decisionscase, null command, && and ||
Shell Command
case, cd, mkdir, env, set
10 For LoopsShell Command
for var in listfor ((exp1; expr2; expr3 ))
11 While and Until LoopsShell Command
while, until
12 Stopping LoopsGetting Options
Shell Command
break, continue, getopts
13 Format PrintingFunctions
Shell Command
env, export, funcname(), printf, set, uname
14 Review
V. Requirements
1. Curiosity and love for learning
2. Ability to work with others in thinking and learning together3. Average grade of60 for all quizzes.4. Completion of80 percent of all assignments
VI. Examinations
There will be several 15 minute quizzes. These quizzes will be announced in class andpostedon the instructors web site prior to being given. The material and related assignmentsbeing quizzed will be announced at the same time. A two (2) hour exam will be given at theend of the course.
Distance Learning: Students that are taking this course distance learning are still required totake quizzes and the final exam on campus. If you cannot come on the day and/or time of thequiz or exam, prior arrangements must be made with the instructor. This can be done by e-
mail or over the phone. See Office Hours for more information.
Syllabus CIS132 Page 3 of 5
http://www.devferr.com/bcc/CIS63_Testing.shtmlhttp://www.devferr.com/bcc/CIS63_Testing.shtmlhttp://www.devferr.com/bcc/Schedule.shtmlhttp://www.devferr.com/bcc/CIS63_Testing.shtmlhttp://www.devferr.com/bcc/Schedule.shtml -
7/28/2019 Cis132 Syl
4/5
VII. Grading
Quizzes and Finals
All quizzes and the final exam will be graded using the traditional percentage system ( 0 - 100).
Weight of examinations and assignments:
Assignment 20% Programs 35%
Final Examination 20% Quizzes 25%
Programming Assignments will be graded using the following system
Appearance 15% Logic 30%
Documentation 10% Syntax 30%
Efficiency 15%
Final Grades will be assigned as follows:
97 100 = A+ 77 79 = C+
94 96 = A 74 76 = C
90 93 = A- 70 73 = C-
87 89 = B+ 60 69 = D
84 86 = B Below 60 = F
80 83 = B-
VIII. Plagiarism
Plagiarism is not tolerated. Students are expected to take this course to learn. Learning willnot happen unless you do the required assignments and turn in yourown work for credit.Students who violate this policy may receive a penalty of the next lower grade or "F" for thecourse. Duplicate assignments submitted for credit will be discarded and will be graded as"0" (zero).
IX. Teaching Methodology
The lecture will be the principal teaching method used in this course. "Handouts" and sampleprograms will be available on the class web page. Class discussions will be conductedpertaining to the Lab assignments before each assignment is made and after it is due.
Software demos using a portable PC and overhead slides will also be used.
X. Attendance
Although the instructor reserves the right to withdraw you from the class after three (3)absences, the student's responsibility to withdraw formally from the class prior to the finalwithdrawal date . Failure to do so will result in a "F" grade for the course.
Syllabus CIS132 Page 4 of 5
-
7/28/2019 Cis132 Syl
5/5
XI. Accommodations
I encourage any student in need of accommodations for a specific documented
disability to contact the Office of Disability Services at their earliest convenience to
ensure timely and appropriate accommodations. ODS can be contacted in person at L109,
by phone at (508) 678-2811 (Fall River, ext. 2955; New Bedford, ext. 4011) or online athttp://www.bristol.mass.edu/Students/ods/request_forms/ods_contact_us.cfm
XII. Office Hours
Office Hours areas posted and by appointment. Simple questions or assistance can beobtained through e-mail to the address above. If you need some help with a seriousdebugging problem or if you need some one-on-one tutoring help to get caught up with theclass, please make an appointment with the instructor. Half hour time slots are available forthat purpose. Appointments can be arranged via e-mail or during class breaks.
Distance Learning: Students that are taking this course distance learning can contact the
instructor via e-mail at anytime or vi phone during office hours or prearranged times.Appointments can be arranged via e-mail.
Posted August 27, 2002 Updated January 7, 2013
The materials on this web site may not be copied or distributed.
This SYLLABUS is a SUGGESTED course OUTLINE and will be GENERALLY followed, subject tochange according to the INSTRUCTOR'S discretion and needs. Academic FLEXIBILITY is important.
Copyright 2013 Silvino C. Ferreira. All rights [email protected]
Syllabus CIS132 Page 5 of 5
http://www.bristol.mass.edu/Students/ods/request_forms/ods_contact_us.cfmhttp://www.devferr.com/bcc/Schedule.shtmlhttp://www.devferr.com/bcc/Schedule.shtmlmailto:[email protected]://www.bristol.mass.edu/http://www.bristol.mass.edu/Students/ods/request_forms/ods_contact_us.cfmhttp://www.devferr.com/bcc/Schedule.shtmlmailto:[email protected]