Presentation is loading. Please wait.

Presentation is loading. Please wait.

Week One Agenda IntroductionIntroduction Administrative AnnouncementsAdministrative Announcements Link of the WeekLink of the Week Expected OutcomesExpected.

Similar presentations


Presentation on theme: "Week One Agenda IntroductionIntroduction Administrative AnnouncementsAdministrative Announcements Link of the WeekLink of the Week Expected OutcomesExpected."— Presentation transcript:

1

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 Break Out ProblemsBreak Out Problems Next Week’s Lab AssignmentNext Week’s Lab Assignment Upcoming DeadlinesUpcoming Deadlines Question and answerQuestion and answer

3 Introduction Instructor:Instructor: Professor Bob D’Andrea Software engineer Phone No. 614.898.0457 Cell No. 616.519.5853 Program Chair of Information and Technology:Program Chair of Information and Technology: Todd Whittaker Phone # 614.947.6110 whittakt@franklin.edu

4 Introduction Instructor commitment:Instructor commitment: Respond daily to emails Class topics covered in 15 weeks Post lab assignment grades as quickly as possible.

5 Administrative Announcements Attendance:Attendance: Checked in classroom Turnitin.com:Turnitin.com: Class ID: 2342138 Class name: Fall08V1FF Enrollment password: FallV1FF

6 Administrative Announcements Bulletin Board:Bulletin Board: Mid-Term Exam Outline (not present) Final Exam Outline (not present) Public Domain Open Source Sign Up folder Drop Box:Drop Box: Student drop box documentation below http://online.franklin.edu/forms/StudentDropBoxManual.doc cs.franklin.edu:cs.franklin.edu: This is the official server for lab scripts and text files

7 Administrative Announcements APA style format:APA style format: Main emphasis on citing sources, spelling, punctuation, and capitalization Link of the week New links are provided weekly to point to information that will aid you with class lab assignments Tutoring and workshops:Tutoring and workshops: Student Learning Center Writing appointments via Franklin Live

8 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 Posted on the Bulletin Board (for f2f and online) Quizes will cover material in the reading links, texts, and classroom lectures

9 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?

10 Expected Outcomes Navigate and explore various aspects of the Linux operating system and use both GUI and command line tools.Navigate and explore various aspects of the Linux operating system and use both GUI and command line tools. To better utilize the Franklin Live tool.To better utilize the Franklin Live tool. Be able to create and execute a script on a virtual machine.Be able to create and execute a script on a virtual machine. Know the directory path to store your final lab assignment script.Know the directory path to store your final lab assignment script. What file permissions to use for the directories and files.What file permissions to use for the directories and files. How to notify the instructor that your script is ready to be graded.How to notify the instructor that your script is ready to be graded.

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

12 Review shell syntax “ “ - 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`

13 Review shell syntax elif [ -d "$1" ]elif [ -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)

14 Break Out Problems 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))

15 Next Weeks Lab Assignment Review Lab Assignment 2-1 Simple Shell scripting.Review Lab Assignment 2-1 Simple Shell scripting. Demonstrate where the lab assignment scripts will be located on EinsteinDemonstrate where the lab assignment scripts will be located on Einstein Demonstrate the execution of printnum.sh and maxlines.sh scripts on EinsteinDemonstrate the execution of printnum.sh and maxlines.sh scripts on Einstein

16 Upcoming Deadlines Lab Assignment 1-2, Introduction to Linux, due 9/9/08.Lab Assignment 1-2, Introduction to Linux, due 9/9/08. Lab Assignment 1-3, In-Class Quiz, due 9/9/08.Lab Assignment 1-3, In-Class Quiz, due 9/9/08. Lab Assignment 2-1, Simple Shell Scripting, due 9/23/08.Lab Assignment 2-1, Simple Shell Scripting, due 9/23/08. Lab Assignment 3-1, Advanced Scripting, due 9/30/08.Lab Assignment 3-1, Advanced Scripting, due 9/30/08. Read Chapter 1 and 2 in Essential System Administration textRead Chapter 1 and 2 in Essential System Administration text Read Module OneRead Module One

17 Questions and answers Questions?Questions? Comments?Comments? Concerns?Concerns? After class I will help students with their scripts.After class I will help students with their scripts.

18 Have a good week


Download ppt "Week One Agenda IntroductionIntroduction Administrative AnnouncementsAdministrative Announcements Link of the WeekLink of the Week Expected OutcomesExpected."

Similar presentations


Ads by Google