Difference between revisions of "Tutorial9: Regular Expressions"

From CDOT Wiki
Jump to: navigation, search
(Created page with "=REGULAR EXPRESSIONS: XXX= <br> ===Main Objectives of this Practice Tutorial=== :* x :* x :* x :* x ===Tutorial Reference Material=== {|width="100%" cellspacing="0" cell...")
 
Line 52: Line 52:
 
= KEY CONCEPTS =
 
= KEY CONCEPTS =
  
===Redirection===
+
===Regular Expressions vs. Filename Expansion===
  
 
x
 
x
  
  
===Piping (Using Pipes)===
+
===Simple Regular Expressions===
  
 
x
 
x
  
  
===Multiple Commands Using Semicolon ; / Grouping Commands ( )===
+
===Complex Regular Expressions===
 
   
 
   
 
x
 
x
  
=INVESTIGATION 1: BASICS OF REDIRECTION=
+
 
 +
 
 +
===Extended Regular Expressions===
 +
 +
x
 +
 
 +
=INVESTIGATION 1: SIMPLE &amp; COMPLEX REGULAR EXPRESSIONS=
  
 
<br>
 
<br>
Line 80: Line 86:
 
In the next investigation, you will ...<br><br>
 
In the next investigation, you will ...<br><br>
  
=INVESTIGATION 2: REDIRECTION USING PIPES =
+
=INVESTIGATION 2: EXTENDED REGULAR EXPRESSIONS =
  
 
In this section, you will learn how to ...
 
In this section, you will learn how to ...
Line 92: Line 98:
 
In the next investigation, you will ...
 
In the next investigation, you will ...
  
=INVESTIGATION 3: MULTIPLE COMMANDS / COMMAND GROUPING =
+
=INVESTIGATION 3: OTHER COMMANDS THAT USE REGULAR EXPRESSIONS =
  
 
In this section, you will learn how to ...
 
In this section, you will learn how to ...

Revision as of 08:24, 3 July 2020

REGULAR EXPRESSIONS: XXX


Main Objectives of this Practice Tutorial

  • x
  • x
  • x
  • x

Tutorial Reference Material

Course Notes
Linux Command/Shortcut Reference
YouTube Videos
Course Notes:


Redirection
  • Standard Input (stdin)
  • Standard Output (stdout)
  • Standard Error (stderr)
  • Piping (pipes)

Multiple Commands

  • Semicolon
  • Grouping ( )


Redirection Filters
  • head
  • tail
  • sort
  • grep
  • cut
  • tr
  • wc
Brauer Instructional Videos:

KEY CONCEPTS

Regular Expressions vs. Filename Expansion

x


Simple Regular Expressions

x


Complex Regular Expressions

x


Extended Regular Expressions

x

INVESTIGATION 1: SIMPLE & COMPLEX REGULAR EXPRESSIONS


In this section, you will learn how to ...



Perform the Following Steps:

  1. x

In the next investigation, you will ...

INVESTIGATION 2: EXTENDED REGULAR EXPRESSIONS

In this section, you will learn how to ...


Perform the Following Steps:

  1. x

In the next investigation, you will ...

INVESTIGATION 3: OTHER COMMANDS THAT USE REGULAR EXPRESSIONS

In this section, you will learn how to ...


Perform the Following Steps:

  1. x

LINUX PRACTICE QUESTIONS

The purpose of this section is to obtain extra practice to help with quizzes, your midterm, and your final exam.

Here is a link to the MS Word Document of ALL of the questions displayed below but with extra room to answer on the document to simulate a quiz:

https://ict.senecacollege.ca/~murray.saul/uli101/uli101_week11_practice.docx

Your instructor may take-up these questions during class. It is up to the student to attend classes in order to obtain the answers to the following questions. Your instructor will NOT provide these answers in any other form (eg. e-mail, etc).


Review Questions:

  1. x
  2. x
  3. x
  4. x
  5. x
  6. x
  7. x
  8. x
  9. Create a table listing each Linux command, useful options that were mentioned in the online assignment #1 and command purpose for the following Linux commands: x , x , x , x , x , x , x , x , x , xTutorial9: Regular Expressions