Course Title: Create scripts for networking

Part B: Course Detail

Teaching Period: Term1 2016

Course Code: COSC6202C

Course Title: Create scripts for networking

School: 155T Vocational Health and Sciences

Campus: City Campus

Program: C4378 - Certificate IV in Information Technology Networking

Course Contact: Alex Buono

Course Contact Phone: +61 3 9925 4475

Course Contact Email: alex.buono@rmit.edu.au


Name and Contact Details of All Other Relevant Staff

George Yousif

george.yousif@rmit.edu.au

Nominal Hours: 60

Regardless of the mode of delivery, represent a guide to the relative teaching time and student effort required to successfully achieve a particular competency/module. This may include not only scheduled classes or workplace visits but also the amount of effort required to undertake, evaluate and complete all assessment requirements, including any non-classroom activities.

Pre-requisites and Co-requisites

NiI

Course Description

This unit describes the performance outcomes, skills and knowledge required to undertake scripted programming tasks for networking related activities.

This course explores Linux and *nix through the command line, Bash scripting and Ubuntu. You will learn to work at the *nix command line, and transfer this knowledge to writing basic scripts.

Topics include
• Basic scripts, the development of writing scripts from the terminal to the script
• System security – separate user and root accounts, escalation of privileges, root via sudo su, sudo command, configuring the sudo’ers file with visudo.
• Standard permissions with owner and groups, read write and execute file permissions.
• File permissions: chmod, chown, chgrp, ls –al.
• File types, binary and text files, library files, symlinks. Compare with Windows dlls and shortcuts.
• Bash programming language, control structures. Functions, passing arguments from the command line, loops, if then, else and case statements, program return error code. Built in variables and PATH. The bash interpreter. Local variables and basic data types and manipulations with strings. Functions.
• Command line utilities relevant to networking. ps, netstat, ifconfig, ping, tail -f, htop
• *nix language in a Bash shell–mkdir, rm, cd, pushd, popd, pwd, ls, cp, mv -i, man, whoami, pipes, output redirection, echo, cat, grep, xterm &, pattern matching, “.” and “..” directories, ~, hidden files beginning with a period “.”, command line arguments, command line in scripts
• Scheduler through crontab with relative and absolute paths, logs, log files and logging messages
• vi editor skills
• *nix updates and software installation using # apt-get. In Ubuntu or Linux Mint configuring the proxy server for apt-get update.
 


National Codes, Titles, Elements and Performance Criteria

National Element Code & Title:

ICTNWK409 Create scripts for networking

Element:

1. Develop algorithms to represent solutions to a given problem

Performance Criteria:

1.1 Consult with client and key stakeholders to identify the problem and associated script requirements

1.2 Employ abbreviated software development cycle to script creation

1.3 Develop an algorithm to solve the problem and meet client requirements

1.4 Develop an algorithm which takes account of expected possible situations

1.5 Develop an algorithm which is guaranteed to end

1.6 Use structure, sequence, selection and iteration

Element:

2. Create code

Performance Criteria:

 

 

2.1 Select appropriate scripting language

2.2 Demonstrate understanding and application of basic language syntax rules and best practices

2.3 Select and use language data types, operators and expressions to create clear and concise code

2.4 Use techniques of selection, iteration and sequence to control script execution flow

2.5 Use techniques for sequential file input and output to retrieve and store information

2.6 Obtain and use user input to affect the operation of the script

2.7 Apply internal document principles to created code

2.8 Follow organisational guidelines for developing maintainable code when creating scripts

2.9 Adhere to coding standards when creating scripts

Element:

3. Use operating system tools

Performance Criteria:

 

3.1 Use searching and sorting tools to select information from the logging output of operating system (OS)

3.2 Implement controls to ensure that where significant events occur, script creates and maintains a log of operations via operating system logging mechanism

3.3 Register and run scripts with OS scheduling facility

Element:

4. Test and debug code

Performance Criteria:

 

4.1 Engineer, document and conduct simple tests to confirm code meets design specification

4.2 Identify areas that are not covered or are covered incorrectly in the script

4.3 Take action to ensure that code complies with security policy

4.4 Take action to ensure that code operates with proper permissions

4.5 Use script debugging techniques suitable for use with scripting language to detect and resolve errors of syntactical, logical and design origin

Element:

5. Document script


Learning Outcomes


Develope scripted programming abilities.  Develope skills in BASH. 

This course contributes to the development of the following capabilities:
• Develop shell scripts
• Using Linux at the command line
• Monitor processes by command line tools and the GUI.
• Identify and manage standard permissions
• Write a basic menu program
• Modify and testing your code
• Documenting code


Details of Learning Activities

 

A range of learning activities are planned for this course including self-paced and collaborative classroom based activities.

The collaborative classroom based activities will include theory sessions, practical lab sessions, tutorial sessions, and out-of-class research and homework.

We expect you to participate and contribute in all scheduled learning activities.


Teaching Schedule

Date Week Topic Assessment
8-Feb 1 Linux commands  
15-Feb 2 Linux commands  
22-Feb 3 Linux commands  
29-Feb 4 Variables, data types, control structures, functions and loops  
7-Mar 5 Variables, data types, control structures, functions and loops  
14-Mar 6 Variables, data types, control structures, functions and loops Assignment 1 due
21-Mar 7 Searching and sorting files
Regular expressions
 
                                    Semester Break
4-Apr 8 Searching and sorting files
Regular expressions
 
11-Apr 9 Managing users, groups and permissions for files and directories  
18-Apr 10 Managing users, groups and permissions for files and directories Assignment 2 due
25-Apr 11 Managing root access for Linux users  
2-May 12 Managing root access for Linux users  
9-May 13 Scheduling scripts using crontab  
16-May 14 Scheduling scripts using crontab Assignment 3 due
23-May 15    
30-May 16   Quizzes due

 The schedule may be subject to change.


Learning Resources

Prescribed Texts


References


Other Resources

www.rmit.edu.au/teaching/technology/blackboard


Overview of Assessment

Students must pass each of the following assessment tasks to demonstrate competent.

Assessment

Task 1

Online Quizzes

Task 2

Assignments

Task 3

Project

These tasks assess the following Course Learning Outcomes (CLOs):

Assessment Mapping Matix

Element/

Performance Criteria Covered

Task 1 

Task 2

Task 3

1.1

x

   

1.2

x

x

x

1.3

x

x

x

1.4

x

x

x

1.5

x

x

x

1.6

x

x

x

2.1

 

x

x

2.2

x

x

x

2.3

x

x

x

2.4

x

x

x

2.5

x

x

x

2.6

 

x

x

2.7

 

x

x

2.8

 

x

x

2.9

 

x

x

3.1

x

 

x

3.2

x

 

x

3.3

x

 

x

4.1

   

x

4.2

x

 

x

4.3

x

 

x

4.4

x

 

x

4.5

x

 

x

5.1

x

 

x

5.2

x

 

x

 

 

 

 

 

 

 

 

 

To be deemed competent student must demonstrate an understanding of all aspects required of the competency. Assessment methods have been designed to measure student's achievement of each competency in a flexible manner over multiple tasks.


Assessment Tasks

1. Online Quizzes

2. Assignment 1

3. Assignment 2

4. Assignment 3

 

You must be competent in all elements to successfully complete the course

To be eligible for a resubmission, you must have made a reasonable attempt at completing the original submission.

Resubmissions are only granted at the discretion of the teacher and/or coordinator.

You are permitted to have a maximum of 2 resubmissions for this course, however each individual assessment may only be resubmitted once.

All resubmissions must be completed and submitted no more than 7 days after your work has been graded.


Assessment Matrix

Element Assignment 1 Assignment 2 Assignment 3  Online Quizzes
1.1 x x x  
1.2 x x x  
1.3 x x x  
1.4 x x x  
1.5 x x x  
1.6 x x    
2.1 x x x x
2.2 x x x x
2.3 x x   x
2.4   x   x
2.5   x x x
2.6   x x  
2.7 x x x  
2.8 x x x  
2.9 x x x x
3.1   x x x
3.2     x  
3.3     x  
4.1 x x x x
4.2   x   x
4.3 x x x  
4.4 x x x  
4.5 x x    
5.1   x x  
5.2   x x  

Other Information

Access to an internet connected computer outside of class times – Internet connected computers are available in the School of Vocational Health and Sciences labs on levels 4, 6 or 8 of building 51, 81 Victoria Street, Melbourne.
Further lab access can be found in the student lab on level 3 (ground floor) of Building 8, in Swanston Street, Melbourne; as well as RMIT Libraries.

Plagiarism
RMIT has a strict policy on plagiarism. Please refer to the RMIT website for more information on this policy. http://www1.rmit.edu.au/browse;ID=sg4yfqzod48g1

Late work
Late work that is submitted without an application for an extension will not be corrected.

Extension of Time for submission of assessable work
A student may apply for an extension of up to 7 days from the original date. They must lodge the application form (available on the web: http://www1.rmit.edu.au/students/assessment/extension) at least the day before the due date. The application is lodged with the School Admin Office on Level 6, Building 51. Students requiring longer extensions must apply for Special consideration.

Special consideration Policy (Late Submission)
Students requiring longer extensions must apply for Special consideration. Form available online at: http://www1.rmit.edu.au/students/specialconsideration/online.
For missed assessments such as exams and tests, you (and your doctor, if you are ill) must fill out a special consideration form. This form must be lodged at the HUB or online with supporting evidence (e.g. medical certificate) prior to, or within 48 hours of the scheduled time of the exam or test.

If you miss an assessment task due to unavoidable circumstances you need to follow the procedure of special consideration and apply within the allowed time frame.

If you have any questions about this assessment process, feel free to email me on:george.yousif@rmit.edu.au

Course Overview: Access Course Overview