Download presentation
Presentation is loading. Please wait.
Published byMagdalen Blair Modified over 9 years ago
2
Week One Agenda IntroductionIntroduction Administrative AnnouncementsAdministrative Announcements Link of the WeekLink of the Week Expected OutcomesExpected Outcomes This Week’s TopicsThis Week’s Topics Next Week’s Lab AssignmentNext Week’s Lab Assignment Break Out ProblemsBreak Out Problems Upcoming DeadlinesUpcoming Deadlines Lab assistance, questions, and chat timeLab assistance, questions, and chat time
3
Introduction Instructor: Professor Bob D’Andrea Software Engineer Phone No. 614.898.0457 Cell No. 616.519.5853 dandrear@franklin.edu Program Chair of Information and Technology: Mr. Todd Whittaker Phone # 614.947.6110 whittakt@franklin.edu
4
Introduction Instructor commitment Respond daily to student emailsRespond daily to student emails Post quiz and exam grades as quickly as possible in electronic grade bookPost quiz and exam grades as quickly as possible in electronic grade book Post student names and exam status on Announcement pagePost student names and exam status on Announcement page Post lab assignment grades as quickly as possible in electronic grade bookPost lab assignment grades as quickly as possible in electronic grade book Recorded Franklin Live Power Point Presentations http://cs.franklin.edu/~dandrear/itec400/Winter09_Franklin_Live Franklin Live file name format: Example: Week_One_1.pptx
5
Administrative Announcements Attendance: Online class attendance is recorded at the start and end of every Franklin Live session.Online class attendance is recorded at the start and end of every Franklin Live session. Email format for assignment notification An email notification is requested when an assignment is submitted. The “Subject” line format is as follows:An email notification is requested when an assignment is submitted. The “Subject” line format is as follows: Example: dandrear V1FF Lab Assign. 2-1 Email format for questions Example: dandrear V1FF Question Example: dandrear V1FF Question
6
Administrative Announcements Bulletin Board: Mid-Term Exam Outline (not present) Final Exam Outline (not present) Public Domain Open Source Sign Up folder Drop Box: Student drop box documentation below http://online.franklin.edu/forms/StudentDropBoxManual.doc cs.franklin.edu: This is the official server for lab scripts and text files.
7
Administrative Announcements Turnitin.com Assignments 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 directly 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. Obtain a proctor for exams. Read Assignment 1-1. This assignment is due January 18, 2009.
8
Administrative Announcements UNIX 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) Linux help, tutorials and tips UNIX Tutorial for Beginners UNIXhelp for Users.
9
Administrative Announcements APA 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 over all learning experience. Tutoring and workshops: Student Learning Center Writing appointments via Franklin Live
10
Administrative Announcements VMware software: Student CDs Demonstrate Knoppix icons ftp from Knoppix to cs.franklin.edu sftp://dandrear@cs.franklin.edu/export/home/dandrear Weekly quiz: Weekly quizzes will be listed on the Bulletin Board for the online class. The quizzes cover material from the reading links, text, and classroom lectures.
11
Link of the Week Open Source Software: http://en.wikipedia.org/wiki/Open_sourcehttp://en.wikipedia.org/wiki/Open_sourcehttp://en.wikipedia.org/wiki/Open_source http://freshmeat.nethttp://freshmeat.nethttp://freshmeat.net http://sourceforge.nethttp://sourceforge.nethttp://sourceforge.net Definition of Open Source Software.Definition of Open Source Software. List of open source products.List of open source products. Who benefits from open source products?Who benefits from open source products? What is shared source?What is shared source?
12
Expected Outcomes Upon successful completion of this course, students will be able to: Create non-trivial shell scripts.Create non-trivial shell scripts. Perform appropriate UNIX system administration tasks.Perform appropriate UNIX system administration tasks. Compose non-trivial scripts using Perl programming language.Compose non-trivial scripts using Perl programming language. Distinguish the roles of Linux and Open Source software.Distinguish the roles of Linux and Open Source software. Incorporate the make utility appropriately within programs.Incorporate the make utility appropriately within programs.
13
Review Shell syntax $# - Number of positional parameters$# - Number of positional parameters $! - Background PID$! - Background PID $? - Return value$? - Return value $$ - Process PID$$ - Process PID $ - Provides the content of a variable ($NUMBER)$ - Provides the content of a variable ($NUMBER) $1, $2, $3 … - The syntax represents the positional parameters on the command line.$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 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.exit 1 - Indicates a failure.
14
Review shell syntax “ “ - Double quotes. Removes special meaning of all enclosed characters, except $, `, “, and \.“ “ - Double quotes. Removes special meaning of all enclosed characters, except $, `, “, and \. Example: print “The price is $Price.\n”; (interpolation)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.‘ ’ - 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.` ` - Single Back Slash quotes. Used for command substitution. Example: echo The date is `date` (interpolation)Example: echo The date is `date` (interpolation) LINES=`wc -l $ENTRY | cut -c 1-7`LINES=`wc -l $ENTRY | cut -c 1-7` LISTING=`ls -l | cut -f 9`LISTING=`ls -l | cut -f 9`
15
Review shell syntax if [ -d "$1" ]if [ -d "$1" ] thenthen fifi wc –l - Word count with –l (line option). Print the new line countswc –l - Word count with –l (line option). Print the new line counts ~ - Tilde (~dandrear)~ - Tilde (~dandrear)
16
Next Weeks Lab Assignment Quick Reference Links Week One http://cs.franklin.edu/~dandrear/itec400/quick_reference/ShellQuickReference.doc Week Three http://cs.franklin.edu/~dandrear/itec400/quick_reference/PerlQuickReference.doc Week Four http://cs.franklin.edu/~dandrear/itec400/quick_reference/ISOQuickReference.doc http://cs.franklin.edu/~dandrear/itec400/quick_reference/FlashMemoryQuickReference.doc http://cs.franklin.edu/~dandrear/itec400/quick_reference/umaskQuickReference.doc Week Five http://cs.franklin.edu/~dandrear/itec400/quick_reference/inittabQuickReference.doc
17
Next Weeks Lab Assignment Review Lab Assignment 2-1 Simple Shell scripting.Review Lab Assignment 2-1 Simple Shell scripting. Demonstrate where the lab assignments should be recorded on cs.franklin.edu (Einstein).Demonstrate where the lab assignments should be recorded on cs.franklin.edu (Einstein). Demonstrate the execution of printnum.sh and maxlines.sh scripts on EinsteinDemonstrate the execution of printnum.sh and maxlines.sh scripts on Einstein
18
Next Weeks Lab Assignment Quick Reference Links Week One http://cs.franklin.edu/~dandrear/itec400/quick_reference/ShellQuickReference.doc Week Three http://cs.franklin.edu/~dandrear/itec400/quick_reference/PerlQuickReference.doc Week Four http://cs.franklin.edu/~dandrear/itec400/quick_reference/ISOQuickReference.doc http://cs.franklin.edu/~dandrear/itec400/quick_reference/FlashMemoryQuickReference.doc http://cs.franklin.edu/~dandrear/itec400/quick_reference/umaskQuickReference.doc Week Five http://cs.franklin.edu/~dandrear/itec400/quick_reference/inittabQuickReference.doc
19
Break Out Problems ps –efps –ef lessless ps –e | wc –lps –e | wc –l who | awk ‘{print $1}’ | sort –u | wc –lwho | awk ‘{print $1}’ | sort –u | wc –l ps –ef | awk ‘{print $1}’ |sort –u | wc –lps –ef | awk ‘{print $1}’ |sort –u | wc –l ls –l | grep –v total | cut –c2-4ls –l | grep –v total | cut –c2-4 ps –ef | awk ‘{print $9, $1}’ps –ef | awk ‘{print $9, $1}’ Shell language command: $#Shell language command: $# Shell language command: for name in *Shell language command: for name in * Shell language command: NUMBER=$(($NUMBER - 1))Shell language command: NUMBER=$(($NUMBER - 1)) Shell variable: PATHShell variable: PATH
20
Upcoming Deadlines Lab Assignment 1-2, Introduction to Linux, due 1/5/09.Lab Assignment 1-2, Introduction to Linux, due 1/5/09. Lab Assignment 1-3, In-Class Quiz, due 1/5/09.Lab Assignment 1-3, In-Class Quiz, due 1/5/09. Lab Assignment 2-1, Simple Shell Scripting, due 1/22/09.Lab Assignment 2-1, Simple Shell Scripting, due 1/22/09. Lab Assignment 3-1, Advanced Scripting, due 1/29/09.Lab Assignment 3-1, Advanced Scripting, due 1/29/09. Read Chapters 1 and 2 in Essential System Administration textRead Chapters 1 and 2 in Essential System Administration text Read Module One listed under the course Web siteRead Module One listed under the course Web site Lab Assignment 13-1 requires a usable mic (4/12/09).Lab Assignment 13-1 requires a usable mic (4/12/09).
21
Lab assistance, questions, and chat time Questions?Questions? Comments?Comments? Concerns?Concerns? After class I will help students with their scripts.After class I will help students with their scripts.
22
Have a good week
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.