Open main menu

CDOT Wiki β

Changes

Tutorial11: Shell Scripting - Part 2

3,172 bytes added, 05:57, 22 January 2020
Created page with "=REDIRECTION: STANDARD INPUT / STANDARD OUTPUT / STANDARD ERROR= <br> ===Main Objectives of this Practice Tutorial=== :* x :* x :* x :* x ===Tutorial Reference Material==..."
=REDIRECTION: STANDARD INPUT / STANDARD OUTPUT / STANDARD ERROR=
<br>
===Main Objectives of this Practice Tutorial===

:* x

:* x

:* x

:* x

===Tutorial Reference Material===

{|width="100%" cellspacing="0" cellpadding="10"

|- valign="top"

|colspan="2" style="font-size:16px;font-weight:bold;border-bottom: thin solid black;border-spacing:0px;"|Course Notes<br>

|colspan="2" style="font-size:16px;font-weight:bold;border-bottom: thin solid black;border-spacing:0px;padding-left:15px;"|Linux Command/Shortcut Reference<br>

|colspan="1" style="font-size:16px;font-weight:bold;border-bottom: thin solid black;border-spacing:0px;padding-left:15px;"|YouTube Videos<br>

|- valign="top" style="padding-left:15px;"

|colspan="2" |Course Notes:<ul><li>[https://ict.senecacollege.ca/~murray.saul/uli101/ULI101-Week5.pdf PDF] | [https://ict.senecacollege.ca/~murray.saul/uli101/ULI101-Week5.pptx PPTX]</li></ul>


| style="padding-left:15px;" |Redirection
* Standard Input (stdin)
* Standard Output (stdout)
* Standard Error (stderr)
* Piping (pipes)<br><br>
Multiple Commands
* Semicolon
* Grouping ( )


| style="padding-left:15px;"|Redirection Filters
* head
* tail
* sort
* grep
* cut
* tr
* wc

|colspan="1" style="padding-left:15px;" width="30%"|Brauer Instructional Videos:<ul><li>[https://www.youtube.com/watch?v=ocU34PcYn2U&list=PLU1b1f-2Oe90TuYfifnWulINjMv_Wr16N&index=4 Reading/Writing to Files<br>(echo, stdin, stdout, stderr, >, >>, 2>, cat, more, less, man, date, diff, diff -y, find, wc])<br><br></li></ul>
|}

= KEY CONCEPTS =

===Redirection===

x


===Piping (Using Pipes)===

x


===Multiple Commands Using Semicolon ; / Grouping Commands ( )===

x

=INVESTIGATION 1: BASICS OF REDIRECTION=

<br>
In this section, you will learn how to ...




'''Perform the Following Steps:'''

# x<br><br>

In the next investigation, you will ...<br><br>

=INVESTIGATION 2: REDIRECTION USING PIPES =

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



'''Perform the Following Steps:'''

# x<br><br>

In the next investigation, you will ...

=INVESTIGATION 3: MULTIPLE COMMANDS / COMMAND GROUPING =

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



'''Perform the Following Steps:'''

# x<br>

= 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_week5_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:'''

# x
# x
# x
# x
# x
# x
# x
# x
# 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''' , '''x'''


[[Category:ULI101]]
13,420
edits