|
XOSS202 - Advanced OSS Commands and Shell Scripting
|
|
This is a short, fast-paced course that covers the advanced commands, options,
and utilities available in OSS for enhanced system management. It covers pipes,
redirection, variables, flow control mechanisms, scripting fundamentals, and
advanced syntax. Because many students will be familiar with TACL, the
programming features of TACL and the OSH shell are compared and contrasted
throughout. This two-day course includes five labs. Students are given plenty
of hands-on time to practice the scripting techniques covered in class. The
course can follow the three-day PLOSS201 (Managing the OSS Environment) course
to provide a valuable, comprehensive, week-long OSS learning experience.
Course Duration: 2 days (on-site)
NonStop system managers, and programmers who will be developing OSS
applications on NonStop or porting applications from other platforms.
Discover the shell’s many options and utilities. You will learn how
to code powerful scripts to greatly facilitate the management of your OSS
subsystem. Compare and contrast shell scripting to TACL macros along the way.
Students will ideally know at least one other programming language.
This could be TACL, another scripting language, or an application language like
COBOL, C, or Java. If you have no programming experience, the PLOSS201 course
will provide an adequate basis for the materials covered here and to get you
started on your programming career.
E-mail:
Phone:
Fax:
Cell/Pager:
Mail:
|
sales@xid.com
+1 817-540-0200 x33
+1 817-545-4960
+1 817-247-7587
1001 W. Euless Blvd. Suite 200
Euless, TX 76040
USA
|
|
-
Day 1
-
Options to the “ls” and “ps” commands
-
How to use “grep”
-
Parsing data with “awk”
-
Other useful scripting commands (basename, join, wc, uniq, cut, etc.)
-
Formatting output with “print” and “pr”
-
Using single and multiple pipes
-
Redirecting standard input, output, and error
-
Script security
-
Data types
-
Variable expansion
-
Lab 1: Advanced shell commands and utilities
-
Lab 2: Pipes and redirection
-
Lab 3: Writing simple scripts
-
Day 2
-
Math operators
-
Shell metacharacters
-
Single quotes and double quotes
-
Assigning values to variables
-
Tests on numbers, strings, and objects
-
Boolean operators
-
Flow control: if, case, while, until, for
-
Command-line argument
-
Special arguments
-
Prompting user for input (read)
-
Writing menus (select)
-
Wildcards and pattern-matching
-
Functions
-
String manipulation
-
File input and output
-
Lab 4: Writing scripts with basic syntax
-
Lab 5: Writing scripts with advanced syntax
|
©2003-2004 XID, LTD.
All rights reserved.
|
|