Presentation is loading. Please wait.

Presentation is loading. Please wait.

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.

Similar presentations


Presentation on theme: "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."— Presentation transcript:

1 Sydney Opera House

2 Week Three Agenda Administrative Issues Link of the week Use of the Virtual Machine Review week two lab assignment This week’s expected outcomes Next lab assignment Break-out problems Upcoming deadlines Questions and answers

3 Administrative Issues Lab assignments such as LDAP, Reiser File System, and open source papers shall follow APA documentation style. Franklin University utilizes the following course book in the PF321 class: Professional Foundations Learning Strategies Grading will focus on capitalization, punctuation, and citation.

4 Administrative Issues Student Sign In Proctor Information

5 Link of the week http://www.kde.org http://www.knoppix.net Knoppix is an open source software that is based on Debian. A live-Linux CD means that the computer boots and executes solely from the CD. The CD does not install software instructions or data on your hardware drive keeping it ready for reuse. Knoppix includes the open source packages: Linux software Desktop environments (OpenOffice.org, Konqueror, Firefox, Apache, PHP, MySQL)

6 Use of the Virtual Machine Caveat: Knoppix software was designed to be used as a Live CD because of specific features that make it’s performance and stability very suitable. It has been noted in several articles that Knoppix works best from a Live CD. Knoppix enthusiasts have attempted to install this software on a hard disk and encountered problems in the process. These problems are most pronounced when installing updates and new software.

7 Use of the Virtual Machine Linux KDE (K Desktop Environment) Tray buttons icons - K Menu - Home - Konsole - Konqueror Web browser - Iceweasel Web browser

8 Review week two lab assignment The Advanced Scripting lab assignment requires two shell scripts to be written. - srch.sh - srchfile.sh The srch.sh script will call the srchfile.sh script to perform a specific task. That specific task is task to search a file for a pattern and report it to standard output. When the end of file is reached, control is then returned to the main script (srch.sh). Shell syntax srchfile.sh $1 $2 original=$PWD cd $original cd $2 listing=`ls –l | cut –f9` for file_name in listing do … done

9 Review week two lab assignment

10 ls –l | more ls –l | less (count the fields/use “q” to quit) ls -a (does not hide entries) less man (utilizes the less command for reading online documentation). cat > test_file (keyboard input goes into test_file) cat < test_file (test_file is displayed on terminal) cat foobar_2 >> foobar_1 (append first file to second file) who | sort > test_file.txt The output of the who command is piped to the sort function and written in ascending order in the test_file.txt file.

11 Review week two lab assignment > test_file cat /etc/passwd grep x /etc/passwd | cut –d’:’ –f1 chmod 705 * chmod 705 test_file grep lines ~dandrear/Fall_solutions/foobar_1 find ~dandrear –type d -print myArray[1]=$1 $0 Demonstrate the.profile settings umask 077 (specifies what permissions the system should remove)

12 Review week two lab assignment HOME = is set to the full path name of your login directory (/export/home/dandrear) PATH = contains the command search path. It is set to a series of path names separated by colons (:). SHELL = This entry may be set by the system administrator to the path name of a shell interpreter other than the standard bash. TERM = specifies what terminal you are using. TMOUT = variable contains the integer attribute. If you set the value greater than zero, ksh terminates if you do not enter a command within the prescribed number of seconds after ksh issues the PS1 prompt. MAIL = Name of your Mail files EDITOR = Pathname for your editor

13 Week’s 2 & 3 expected outcomes Upon successful completion of this module, the student will be able to: Create scripts using shell/Perl variables and program control flow. Use redirection and pipes to combine scripts and executables. Use man page system and find script tools. Discuss Perl Language

14 Next lab assignment Introduction to Perl Perl - Practical Extraction and Report Language Perl is a simple language - Compiles and executes like a shell script or a batch file - Perl doesn’t impose special growth limitations on arrays and data strings - Perl is a composite of C, AWK, and Basic - Originally developed to manipulate text

15 Next lab assignment Perl’s range of flexibility - System administration - Web development - Network programming - GUI development Major features - Procedural Programming Sequence or unstructured statements Includes routines, subroutines, methods, or functions - Object Oriented Programming Module uses “objects” and their interactions to design applications and computer programs.

16 Next lab assignment Major features (continued) - Powerful built-in support for text processing - Large collection of third-party modules.

17 Next lab assignment Perl text book read in Chapter one (1), pages 6-14 Chapter two (2), pages 52-56, 58-65 Chapter three (3), pages 86-88, 94-102 Chapter thirty two (32), pages 865, 899 Chapter thirty three (33) provides diagnostic messages for output errors.

18 Next lab assignment Online Reading Sections Chapter One: Variable Syntax Singularities Pluralities Arrays Hashes Complexities Chapter Two: Variables Names Name Lookups Scalar Values Numeric Literals Pick Your Own Quotes Or Leave The Quotes Out Entirely Interpolating Array Values

19 Next Lab Assignment Online Reading Sections Chapter Three: Multiplicative Operators Additive Operators Shift Operators Named Unary and File Test Operators Relational Operators Equality Operators Bitwise Operators

20 Next lab assignment Chapter 32: Standard Modules Chapter 33: Diagnostic Output Messages

21 Break out problems scalar@ARGV $ARGV[0] exit 0 unless $NUMBER exit 1 $ARGV[1] % (%directory) $($quote) @ (@names) diff tr “[a-z]” “[A-Z]” fileout

22 Upcoming Deadlines Lab Assignment 5-1 due on 6/1/08. Lab Assignment 4-1 due on 5/24/08. Lab Assignment 2-1 due on 5/18/08. Mid-term exam 6/9 through 14/08. Mid term outline will be posted on the Bulletin Board by 5/26/08.

23 Questions and Answers Questions Comments Concerns After class I will help students with their scripts.

24


Download ppt "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."

Similar presentations


Ads by Google