week one agenda

23

Upload: parson

Post on 25-Feb-2016

31 views

Category:

Documents


0 download

DESCRIPTION

Week One Agenda. Introduction Administrative Announcements Link of the Week Expected Outcomes This Week’s Topics Next Week’s Lab Assignment Break Out Problems Upcoming Deadlines Lab assistance, questions, and chat time. Introduction. Instructor: Professor Bob D’Andrea - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Week One Agenda
Page 2: Week One Agenda

Week One Agenda• Introduction• Administrative Announcements• Link of the Week• Expected Outcomes• This Week’s Topics• Next Week’s Lab Assignment• Break Out Problems• Upcoming Deadlines• Lab assistance, questions, and chat time

Page 3: Week One Agenda

Introduction

Instructor: Professor Bob D’AndreaSoftware Engineer Instructor at Franklin University for five yearsPhone No. 614.898.0457Cell No. [email protected]

Program Chair of Information and Technology: Mr. Todd WhittakerPhone # [email protected]

Page 4: Week One Agenda

Administrative AnnouncementsInstructor commitment

I plan to respond daily to student emailsPost exam grades and lab assignments as quickly as possible in the electronic grade bookPost student mid-term and final exam status on the Announcement page after the exam has been administered

cs.franklin.edu serverDoes everyone have a login that works into cs.franklin.edu?Does everyone have putty downloaded to interface with the cs.franklin.edu server?

Page 5: Week One Agenda

Administrative AnnouncementsRecorded Franklin Live Power Point Presentations

http://cs.franklin.edu/~dandrear/itec400/Summer09_Franklin_Live

Franklin Live file name format:Example: Week_One_1.pptx

Week_One_1_ppt.pptFranklin Live Attendance:

Online class attendance is recorded at the start and end of each sessionIf you enter a session after 6:15 PM EST, please sign-in using the text screen like this: Example: dandrear logging on

Page 6: Week One Agenda

Administrative AnnouncementsEmail format for assignment notification

Email notification is requested when an assignment is submitted. The “Subject” line format is as follows:

<User name> <Section Number> <Lab Assig 1-3>Example: dandrear V1WW Lab Assign. 2-1

Email format for questions<User name> <Section Number> <Question>

Example: dandrear V1WW QuestionScripts and text file suffix

All scripts and text files shall have a suffix (e.g. ,sh, .pl, .txt).Homework assistance:

Please do not solicit help with lab assignments from the Internet. If your caught, Franklin University will take action against you.

Page 7: Week One Agenda

Administrative AnnouncementsBulletin Board:

Mid-Term Exam Outline (not present)Final Exam Outline (not present)Open Source Software folder (present)

Drop Box:Drop box link is on your Web page named ITEC

400- V1WW Current Announcements, under the “Communications” tab

Student drop box documentation belowhttp://online.franklin.edu/forms/StudentDropBoxManual.doc

cs.franklin.edu:This is the official server name for lab scripts and

text files.

Page 8: Week One Agenda

Administrative AnnouncementsTurnitin.com Assignments

All written lab assignments like LDAP, Public Domain Open Source, and the Reiser File System must be submitted to Turnitin.com. I will grade those assignments on Turnitin.com. If your paper indicates matches of 50 percent or more, I will not grade the paper and will recommend that you seek assistance from the Student Learning Center.

ProctorObtain a proctor for mid-term and final exams. ReadAssignment 1-1 is due May 10, 2009.

Page 9: Week One Agenda

Administrative AnnouncementsUNIX System Administration Syllabus

Optional Materials Tutorials: Refer to the following web sites throughout UNIX System Administration. They are excellent resources for UNIX and Linux: • UNIX System Administration Independent Learning (USAIL) (NO LONGER AVAILABLE)• Linux help, tutorials and tips • UNIX Tutorial for Beginners • UNIXhelp for Users.

Page 10: Week One Agenda

Administrative AnnouncementsAPA style format:

Main emphasis on citing sources, spelling, punctuation, and capitalization

Link of the week:New links are provided weekly to direct students to

information that will aid them with class lab assignments and enhance their overall learning experience.

Tutoring and workshops:Student Learning CenterWriting appointments via Franklin Live

Page 11: Week One Agenda

Administrative Announcements VMware software:

Source for downloading Knoppix software is on Web page COMP/ITEC 400 – UNIX System

AdministrationDemonstrate Knoppix iconsftp from Knoppix to cs.franklin.edusftp://[email protected]/export/home/

dandrear

Weekly quiz:Weekly quizzes will be listed on the Bulletin Board

for online students to review and study. The quizzes address material from the reading thelinks, text, Weekly Modules, and class lectures.

Page 12: Week One Agenda

Administrative AnnouncementsOffice hours

On demand.I would gladly do a personalized Franklin Live session with you.Discuss issue(s) on the phone

614.898.0457 (h)614.519.5853 (c)

Page 13: Week One Agenda

Link of the WeekOpen Source Software:

• http://en.wikipedia.org/wiki/Open_source• http://freshmeat.net• http://sourceforge.net• Definition of Open Source Software.• List of open source products.• Who benefits from open source products?• What is shared source?

Page 14: Week One Agenda

Expected OutcomesUpon successful completion of this course, students will be

able to:• Create non-trivial shell scripts. • Perform appropriate UNIX system administration tasks. • Compose non-trivial scripts using Perl programming

language. • Distinguish the roles of Linux and Open Source software. • Incorporate the make utility appropriately within

programs.

Page 15: Week One Agenda

Review Shell syntax• $# - Number of positional parameters• $! - Background PID• $? - Return value• $$ - Process PID• $ - Provides the content of a variable ($NUMBER)• $1, $2, $3 … - The syntax represents the positional

parameters on the command line.• exit 0 – The return values is a number from 0 to

255. A value of zero (0) indicates a normal exit.• exit 1 - Indicates a failure.

Page 16: Week One Agenda

Review shell syntax• “ “ - Double quotes. Removes special meaning of all

enclosed characters, except $, `, “, and \.• Example: print “The price is $Price.\n”; (interpolation)• ‘ ’ - Literal quotes. Removes the special meaning of all

enclosed characters. A single quote cannot appear within single quotes because a single quote denotes the end of the string.

• ` ` - Single Back Slash quotes. Used for command substitution.

• Example: echo The date is `date` (interpolation)• LINES=`wc -l $ENTRY | cut -c 1-7`• LISTING=`ls -l | cut -f 9`

Page 17: Week One Agenda

Review shell syntax• if [ -d "$1" ]• then• fi• wc –l - Word count with –l (line option). Print the new line

counts• ~ - Tilde (~dandrear)

Page 18: Week One Agenda

Next Weeks Lab AssignmentQuick Reference Links

Week Onehttp://cs.franklin.edu/~dandrear/itec400/quick_reference/ShellQuickReference.doc

Week Threehttp://cs.franklin.edu/~dandrear/itec400/quick_reference/PerlQuickReference.doc

Week Fourhttp://cs.franklin.edu/~dandrear/itec400/quick_reference/ISOQuickReference.dochttp://cs.franklin.edu/~dandrear/itec400/quick_reference/FlashMemoryQuickReference.dochttp://cs.franklin.edu/~dandrear/itec400/quick_reference/umaskQuickReference.doc

Week Fivehttp://cs.franklin.edu/~dandrear/itec400/quick_reference/inittabQuickReference.doc

Page 19: Week One Agenda

Next Weeks Lab Assignment• Review Lab Assignment 2-1 Simple Shell scripting.• Demonstrate where the lab assignments should be recorded

on cs.franklin.edu (Einstein). • Demonstrate the execution of printnum.sh and maxlines.sh

scripts on Einstein

Page 20: Week One Agenda

Break Out Problems• ps –ef• less• ps –e | wc –l• who | awk ‘{print $1}’ | sort –u | wc –l• ps –ef | awk ‘{print $1}’ |sort –u | wc –l• ls –l | grep –v total | cut –c2-4• ps –ef | awk ‘{print $9, $1}’• Shell language command: $#• Shell language command: for name in *• Shell language command: NUMBER=$(($NUMBER -

1)) • Shell variable: PATH

Page 21: Week One Agenda

Upcoming Deadlines• Lab Assignment 1-2, Introduction to Linux, due

May 3,2009.• Lab Assignment 1-3, In-Class Quiz, due May 3,

2009. • Lab Assignment 2-1, Simple Shell Scripting, due

May 17, 2009.• Lab Assignment 3-1, Advanced Scripting, due May

24, 2009.• Read Chapters 1 and 2 in Essential System

Administration text• Read Module One listed under the course Web site• Lab Assignment 13-1 requires a usable mic August

2, 2009.

Page 22: Week One Agenda

Lab assistance, questions, and chat time• Questions?• Comments?• Concerns?

• After class I will help students with their scripts.

Page 23: Week One Agenda

Have a good week