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

Slides:



Advertisements
Similar presentations
Week Four Agenda Announcements Link of the week Review week three lab assignment This week’s expected outcomes Next lab assignment Break-out problems.
Advertisements

EMT 2390L Lecture 4 Dr. Reyes Reference: The Linux Command Line, W.E. Shotts.
Week One Agenda IntroductionIntroduction Administrative AnnouncementsAdministrative Announcements Link of the WeekLink of the Week Expected OutcomesExpected.
CS Lecture 03 Outline Sed and awk from previous lecture Writing simple bash script Assignment 1 discussion 1CS 311 Operating SystemsLecture 03.
Linda Neff Vista Basics. Vista Training  Vista Basics  Prerequisite to Advanced Workshops  Learn fundamentals  ID 101-Essential Questions  Vista.
Getting Started in Blackboard. You will need… A web browser, preferably Internet Explorer, version 4.0 or higher An account and the knowledge of.
CIS101 Introduction to Computing Week 03. Agenda Your questions Online gradebook and quizzes Register for WEBSPACE Excel project two This week’s assignments.
CSC 171 – FALL 2004 COMPUTER PROGRAMMING LECTURE 0 ADMINISTRATION.
Guide to Linux Installation and Administration, 2e1 Chapter 6 Using the Shell and Text Files.
Shell Script Examples.
Week Two Agenda Announcements Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Next lab assignments.
Sydney Opera House. Week Three Agenda Administrative Issues Link of the week Review week two lab assignment This week’s expected outcomes Next lab assignment.
Week One Agenda IntroductionIntroduction Administrative AnnouncementsAdministrative Announcements Link of the WeekLink of the Week Expected OutcomesExpected.
Week One Agenda IntroductionIntroduction Administrative AnnouncementsAdministrative Announcements Link of the WeekLink of the Week Expected OutcomesExpected.
Week One Agenda IntroductionIntroduction Administrative AnnouncementsAdministrative Announcements Link of the WeekLink of the Week Expected OutcomesExpected.
Week One Agenda IntroductionIntroduction Administrative AnnouncementsAdministrative Announcements Link of the WeekLink of the Week Expected OutcomesExpected.
Agenda Introduction Administrative Announcements Link of the Week Expected Outcomes This Week’s Topics Next Week’s Lab Assignment Break Out Problems Upcoming.
Week One Agenda IntroductionIntroduction Administrative AnnouncementsAdministrative Announcements Link of the WeekLink of the Week Expected OutcomesExpected.
Agenda User Profile File (.profile) –Keyword Shell Variables Linux (Unix) filters –Purpose –Commands: grep, sort, awk cut, tr, wc, spell.
Nancy Severe-Barnett Program Coordinator, SCIS
Week Three Agenda Administrative Issues Link of the Week Review Week Two Information This Week’s Expected Outcomes Next Lab Assignment Break-Out Problems.
Week Two Agenda Announcements Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Next lab assignments.
Week Two Agenda Announcements Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Next lab assignments.
Agenda Introduction Administrative Announcements Link of the Week Expected Outcomes This Week’s Topics Next Week’s Lab Assignment Break Out Problems Upcoming.
Week One Agenda IntroductionIntroduction Administrative AnnouncementsAdministrative Announcements Link of the WeekLink of the Week Expected OutcomesExpected.
CS 6560 Operating System Design Lecture 3:Tour of GNU/Linux.
CIS101 Introduction to Computing Week 03. Agenda Your questions Online gradebook and quizzes Your Web space Review of charts and today’s homework Excel.
Additional UNIX Commands. 222 Lecture Overview  Multiple commands and job control  More useful UNIX utilities.
Introduction to Linux OS (IV) AUBG ICoSCIS Team Prof. Volin Karagiozov March, 09 – 10, 2013 SWU, Blagoevgrad.
Agenda Introduction Administrative Announcements Link of the Week Expected Outcomes This Week’s Topics Next Week’s Lab Assignment Break Out Problems Upcoming.
Agenda Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Review next lab assignments Break Out Problems.
Week Four Agenda Announcements Link of the week Review week three lab assignment This week’s expected outcomes Next lab assignment Break-out problems.
Week One Agenda IntroductionIntroduction Administrative AnnouncementsAdministrative Announcements Link of the WeekLink of the Week Expected OutcomesExpected.
P51UST: Unix and Software Tools Unix and Software Tools (P51UST) Exam Revision Ruibin Bai (Room AB326) Division of Computer Science The University of Nottingham.
Agenda Introduction Administrative Announcements Link of the Week Expected Outcomes This Week’s Topics Next Week’s Lab Assignment Break Out Problems Upcoming.
Week Two Agenda Announcements Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Next lab assignments.
Week Two Agenda Announcements Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Next lab assignments.
Week Two Agenda Announcements Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Next lab assignments.
Shell Advanced Features. Module 8 Shell Advanced Features ♦ Introduction In Linux systems, the shells are often referred to as command line interfaces.
Week Three Agenda Administrative Issues Link of the Week Review Week Two Information This Week’s Expected Outcomes Next Lab Assignment Break-Out Problems.
ECET – Dynamic Programming with Python Spring 2013 Lecture L1 – Introduction to Python Page 1 Welcome! This is Professor Jai P. Agrawal. I will walk.
Sydney Opera House. Week Three Agenda Administrative Issues Link of the week Use of the Virtual Machine Review week two lab assignment This week’s expected.
1 Sacramento City College- Jo-Ann Foley D2L Orientation.
Week Three Agenda Administrative Issues Link of the week Review week two lab assignment This week’s expected outcomes Next lab assignment Upcoming deadlines.
Week Two Agenda Announcements Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Next lab assignments.
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
Week Three Agenda Administrative Issues Link of the Week Review Week Two Information This Week’s Expected Outcomes Next Lab Assignment Break-Out Problems.
Agenda Positional Parameters / Continued... Command Substitution Bourne Shell / Bash Shell / Korn Shell Mathematical Expressions Bourne Shell / Bash Shell.
Sydney Opera House. Week Three Agenda Administrative Issues Link of the week Use of the Virtual Machine Review week two lab assignment This week’s expected.
Week One Agenda IntroductionIntroduction Administrative AnnouncementsAdministrative Announcements Link of the WeekLink of the Week Expected OutcomesExpected.
Agenda Introduction Administrative Announcements Link of the Week Expected Outcomes This Week’s Topics Next Week’s Lab Assignment Break Out Problems Upcoming.
Week Five Agenda Link of the week Review week four lab assignment This week’s expected outcomes Next lab assignment Break-out problems Upcoming deadlines.
Week Four Agenda Link of the week Review week three lab assignment This week’s expected outcomes Next lab assignment Break-out problems Upcoming deadlines.
Course Information CSE 2031 Fall Instructor U. T. Nguyen /new-yen/ Office: CSEB Office hours:  Tuesday,
CS 403: Programming Languages Lecture 20 Fall 2003 Department of Computer Science University of Alabama Joel Jones.
Week Two Agenda Announcements Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Next lab assignments.
Week Two Agenda Announcements Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Next lab assignments.
Week Two Agenda Announcements Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Next lab assignments.
Week Two Agenda Announcements Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Next lab assignments.
Week Four Agenda Announcements Link of the week Review week three lab assignment This week’s expected outcomes Next lab assignment Break-out problems.
Shell Control Structures CSE 2031 Fall June 2016.
Course Information EECS 2031 – Section A Fall 2017.
ITEC400 Week One Robert D’Andrea
Week Two Agenda Announcements Link of the week Use of Virtual Machine
Week Three Agenda Link of the Week Review Week Two Information
Sydney Opera House.
Week Three Agenda Link of the Week Review Week Two Information
Module 4 Command Line Skills
Introduction to Bash Programming, part 3
Basic shell scripting CS 2204 Class meeting 7
Presentation transcript:

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

Introduction Instructor:Instructor: Professor Bob D’Andrea Software engineer Phone No Cell No Program Chair of Information and Technology:Program Chair of Information and Technology: Todd Whittaker Phone #

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

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

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 cs.franklin.edu:cs.franklin.edu: This is the official server for lab scripts and text files

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

Administrative Announcements VMware software: Student CDs Demonstrate Knoppix icons ftp from Knoppix to cs.franklin.edu Weekly quiz Posted on the Bulletin Board (for f2f and online) Quizes will cover material in the reading links, texts, and classroom lectures

Link of the Week Open Source Software 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?

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.

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.

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`

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)

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))

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

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

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.

Have a good week