1 / 24

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. Introduction. Instructor: Professor Bob D’Andrea

kiri
Download Presentation

Week One Agenda

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 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

  2. Introduction Instructor: Professor Bob D’Andrea Software Engineer Instructor at Franklin University for five years 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

  3. Administrative Announcements Instructor commitment I plan to respond daily to student emails. Post exam grades and lab assignments as quickly as possible in the official electronic grade book. Post student mid-term and final exam status on the Announcement page after each exam has been received from the Student Learning Center (SLC). cs.franklin.edu server Does everyone have a login that works into cs.franklin.edu? Does everyone have putty downloaded on their laptop to interface with the cs.franklin.edu server? Is everyone familiar with VMWare software and its role in the course?

  4. Administrative Announcements Recorded Franklin Live Power Point Presentations http://cs.franklin.edu/~dandrear/itec400/Winter2010_Franklin_Live Franklin Live file name format: Example: Week_One_1.pptx Week_One_1_ppt.ppt

  5. Administrative Announcements Email format for completed lab assignments Email a notification when an assignment is completed and ready to be graded. The “Subject” line of your email notification should have the following format: <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 Question Scripts and text file suffix All scripts and text files shall have a suffix (e.g. ,sh, .pl, .txt). Homework assistance: Do not solicit help on the Internet with the lab assignments. If caught soliciting assistance from the Internet, Franklin University will take action against you.

  6. Administrative Announcements Bulletin Board: Mid-Term Exam Outline (not present) Final Exam Outline (not present) Public Domain/Open Source Software Evaluation 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 below http://online.franklin.edu/forms/StudentDropBoxManual.doc cs.franklin.edu: This is the official server name for lab assignments 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. Your report will be verified by Turnitin.com for originality. If Turnitin.com indicates that your percentage of originality is 45 percent or more, I will not grade the paper. I will recommend that you seek assistance from the Student Learning Center (SLC).

  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) (NO LONGER AVAILABLE) http://web.archive.org/web/20080206003854/http://www.uwsg.indiana.edu/usail/ • Linux help, tutorials and tips • UNIX Tutorial for Beginners • UNIX help for Users.

  9. Administrative Announcements APA style format: Main emphasis on citing sources, spelling, punctuation, and capitalization. All reports must have a cover and reference page. 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 Center (SLC) Writing appointments via Franklin Live

  10. Administrative Announcements VMware software: Source for downloading Knoppix software is on Web page COMP/ITEC 400 – UNIX System Administration Demonstrate Knoppix icons ftp from Knoppix to cs.franklin.edu sftp://dandrear@cs.franklin.edu/export/home/dandrear Weekly quiz: Weekly quizzes will be posted on the Bulletin Board. The questions on the quiz will be created from the text reading, links, weekly modules, and class lectures.

  11. Administrative Announcements Office hours On demand. Personalized Franklin Live session can be arranged, if assistance is needed. Discuss issue(s) on the phone 614.898.0457 (h) 614.519.5853 (c)

  12. Link of the Week Open Source Software: • http://en.wikipedia.org/wiki/Open_source • http://freshmeat.net • http://sourceforge.net • Definition of Open Source Software. • Who benefits from open source products?

  13. Expected Outcomes Upon 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.

  14. Review Shell syntax • $# - Number of positional parameters • $! - Background PID • $? - Return value • $$ - Process PID • $ - Provides the content of a variable ($NUMBER) • $0, $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.

  15. 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`

  16. Review shell syntax • if [ -d "$1" ] then action statement fi • wc –l - Word count with –l (line option). Print the new line counts • ~ - Tilde (~ means /export/home/dandrea) • for name in * do action statements done

  17. Review shell syntax • while [ condition] do action statement done

  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. Next Weeks Lab Assignment • Review Lab Assignment 2-1 Simple Shell scripting. • Lab assignments should be recorded on cs.franklin.edu (Einstein) machine in your “~/itec400/homework” directory. • Demonstrate how to create a file using the “vi” editor. • Execute printnum.sh and maxlines.sh scripts on Einstein. • Email Lab 2-1 Shell Simple Script Logic Version 2 ppt and Shell Command and Programming Language Quick Reference documents to students.

  20. Break Out Problems • Program statement (#!/bin/ksh) • less • ps –e | wc –l • who | awk ‘{print $1}’ | sort –u | wc –l • ps –ef | awk ‘{print $1}’ |sort –u | wc –l • find / ex • ps –ef | awk ‘{print $9, $1}’ • Shell language command: $# • Shell language command: for name in * • Shell language command: NUMBER=$(($NUMBER - 1)) 11. Shell variable:PATH

  21. Upcoming Deadlines • Lab Assignment 1-1, Obtain a Proctor for Exams, due January 22, 2010. • Lab Assignment 1-2, Install VMware and Knoppix Virtual Machine, due January 10, 2010. • Lab Assignment 1-3, Introduction to Linux, due January 10, 2010. • Lab Assignment 2-1, Simple Shell Scripting, due January 24, 2010. • Lab Assignment 3-1, Advanced Scripting, due January 31, 2010. • Read Chapters 1 and 2 in Essential System Administration text. • Read Module One listed under the course Web site

  22. Lab assistance, questions, and chat time • Questions? • Comments? • Concerns? • After each Franklin Live session, I will remain on the session to provide assistance unless otherwise indicated.

  23. Have a good week

More Related