Multi-vendor Advanced Unix Data Tools and Techniques

call us now - 0845 757 3888
  • view dates / book course
  • course description
  • blogs

Print course outline | Download Word document | Link to page: http://www.qa.com/MVUXADT-1

Course dates

Sorry, but we do not have public dates scheduled for this course but these courses can be run as a closed event for your company.
Please contact us for details on alternative ways we can help you 0845 757 3888 or email us at info@qa.com

Print course outline | Download Word document | Link to page: http://www.qa.com/MVUXADT-1

Overview

This course provides insight into the advanced topics for handling and manipulating data streams on UNIX/Linux machines. We will start with an advanced view of using the shell efficiently for data manipulation. Over two days will be devoted to exploring Regular Expressions, as well as in-depth analysis of the advanced sed and awk features. A full day is dedicated to an introduction to the Perl programming, which is such an important and portable programming environment these days.
The course is aimed primarily at the accomplished system user, familiar with scripting, who needs to enhance their knowledge and ability of efficient data manipulation techniques.

Prerequisites

  • Delegates must have good experience of using UNIX systems, and ideally of developing automated solutions using shell scripting. Familiarity with basic data manipulation tools (e.g. grep), basic regular expressions, and principles of scripting is essential.
  • Typically, the prerequisites can be met by attending the Multi-Vendor UNIX Fundamentals course followed by the Multi-Vendor Korn Shell Programming course.

Delegates will learn how to

  • Improve the efficiency of shell scripts
  • Be fully conversant with the advanced Regular Expression features
  • Use advanced features of sed, such as tagging, grouping, looping , etc
  • Understand the purpose and the flow of operation of awk
  • Use awk's programming features, including decision making constructs, loops, etc
  • Appreciate the power of Perl in platform-independent environments
  • Use Perl's basic 'magic' variable types, characters, program structure and flow control constructs in simple administrative and reporting scripts
  • Understand the differences in the three main tools discussed, and make an informed choice of which tool is the most relevant for the task in hand

Course Outline.

Chapter 1: Course Introduction

  • Files and file descriptors
  • Methods for reading data
  • Scripts and handling hints
  • Locales


Chapter 2: Shell tips & trick

  • Data extraction: IFS, set, and read
  • Sub-string handling
  • Process substitution
  • Report generation and printf


Chapter 3: Regular Expressions & grep

  • Basic Regular Expressions (BREs)
  • The grep family
  • BRE quantifiers and anchors
  • Grouping and back-references


Chapter 4: Advanced Regular Expressions

  • Extended Regular Expressions (EREs)
  • ERE quantifiers and anchors
  • Alternation
  • Character classes
  • Replacement meta-characters


Chapter 5: Introduction to sed

  • Running sed
  • sed Regular Expressions
  • sed line addressing
  • Grouping commands
  • The substitute command, and others


Chapter 6: More sed

  • Data validation
  • Using the hold space
  • Multi-line matching


Chapter 7: Advanced Features of sed

  • Flow control
  • Loops and ‘case’ constructs
  • Using shell variables
  • File I/O
  • Miscellaneous commands


Chapter 8: Introduction to awk

  • Basic awk syntax
  • awk line addressing
  • awk variables
  • awk regular expressions
  • Simple awk commands


Chapter 9: Making awk Work

  • Programming techniques
  • Relational and logical operators
  • String functions
  • Arithmetic operators and functions


Chapter 10: Flow Control in awk

  • if…else
  • Loops
  • Indexed and associative arrays


Chapter 11: Advanced awk

  • Running awk scripts
  • Complex input and output
  • User written functions
  • Running external programs from awk


Chapter 12: Introduction to Perl

  • Running a perl script
  • Comparing awk and Perl
  • Perl variables
  • Interpolation


Chapter 13: Perl Expressions and Operators

  • Scalar operators
  • Context and type conversions
  • Useful scalar functions
  • Array and hash functions


Chapter 14: Decision Making in Perl

  • Basic conditional statements
  • File condition functions
  • Perl Regular Expression syntax
  • Perl loops
  • The ARGV filehandle

Chapter 15: Advanced Features of Perl

  • Writing to files
  • Subroutines
  • Modules
  • Advanced Perl Regular Expressions

Print course outline | Download Word document | Link to page: http://www.qa.com/MVUXADT-1

Related blogs

Apple’s latest Operating System – OS X Mavericks – My top 3 features

Posted by Scott Hayes on 19 June 2013

The latest release of Apple’s Operating System is here, and in this blog Principal Technologist for Apple, Scott Hayes examines some of the new features and functionality which make this new release the best yet.

Windows Server 2012 Offload Data Transfer (ODX) Testing

Posted by Paul Gregory on 13 June 2013

Windows Server 2012 introduces a new technology that allows any application to be enabled to allow SAN based storage to copy files internally rather than be copied by the Windows Server across the network.

VMware VDP Initial Root Password

Posted by Bryan O'Connor on 12 June 2013

The VMware Data Protection backup problem is fairly straight forward to setup, the hardest bit is remembering the initial root password

VMware vCenter Log Insight Announced

Posted by Bryan O'Connor on 11 June 2013

With huge amounts of machine data generated in dynamic, virtual and cloud infrastructures on a daily basis, there is an acute need to apply analytics-based technologies to solve IT problems. VMware vCenter Log Insight extends VMware’s leadership in analytics capabilities to unstructured data and log files, giving you operational intelligence and deep, enterprise-wide visibility across all tiers of your IT infrastructure and applications, without the need to know the data beforehand.

Apprentice – You’re hired!

Posted by Richard Froud on 05 June 2013

Nominations for the Microsoft Apprentice of the Year award 2013.

See all related blogs

 
top of page
  • Apple logo
  • AppSense logo
  • cisco logo
  • citrix logo
  • compTIA logo
  • ec council logo
  • IBM logo
  • microsoft gold logo
  • novell logo
  • oracle logo
  • redhat logo
  • SAP logo
  • symantec logo
  • vmware logo
  • Pya -winner -2013 logo
  • Salesforce logo
  • microsoft gold logo
  • Apple logo
  • Pya -winner -2013 logo