Course Outline

The Simplest Script for Government

Selecting the Shell (Magic Number #!, Sha-bang) for Government

Executing the Script for Government

External and Built-in Commands for Government

Special Characters for Government

  • Comment (#)
  • End of Line (;)
  • An Empty Statement (:) for Government
  • Redirection of Input and Output (>, <, >>) for Government
  • Redirecting Output for Government
  • Redirection of Input for Government
  • Pipeline (|) for Government
  • Running a Process in the Background (&) for Government

Variables and Parameters for Government

  • Unsetting Variables (unset) for Government
  • Variable with a Null Value for Government
  • Saving the Result to a Variable (backquotes ``) for Government
  • Parameter Access ($0, $#, $1, $2, $3...) for Government
  • Manual Shift for Government
  • Quoting for Government
  • Escape Character (\) for Government

Regular Expressions for Government

Conditional Statements for Government

  • The if / then Statement for Government
  • The if / then / else Statement for Government
  • Nested if Statements for Government
  • The if / elif Statement for Government
  • The case Statement for Government
  • Logical Operators (&&, ||) for Government
  • The test Command for Government

Script Termination for Government

The exit Statement for Government

Using the Exit Status of a Program in a Script ($?) for Government

Tests and Operators for Government

  • Text File Operators for Government
  • File Type Tests for Government
  • File Attribute Tests for Government

Comparison Operators for Government

  • Arithmetic Comparison Using the if Command for Government
  • Integer Comparison Operators for Government
  • String Comparison for Government
  • Complex Comparisons (and, or) for Government
  • Nested Comparison Operators for Government
  • The Assignment Operator for Government
  • Arithmetic Operators for Government
  • Bitwise Operators for Government
  • Logical Operators for Government
  • Numeric Constants for Government

Loops for Government

  • The for / in Loop for Government
  • The seq Command for Government
  • The while Loop for Government
  • The until Loop for Government
  • Controlling Loops (break, continue) for Government

Text Processing for Government

  • The head and tail Commands for Government
  • Sort, Uniq, Expand, Unexpand for Government
  • Cut, Paste, Join, Wc, Tr for Government

Text Search (grep) for Government

Stream Editor (sed) for Government

Interactive Programs for Government

  • The read Command for Government
  • User Selection for Government

Features for Government

Sleep Command for Government

Debugging Scripts for Government (if the script does not work?)

Requirements

  • An understanding of basic Linux commands and file system navigation
  • Experience with shell usage and simple text editing on Linux
  • Completion of the "Introduction to Linux" course is recommended but not required

Audience

  • Linux users who want to automate tasks using shell scripting for government operations
  • System administrators looking to optimize server management and operations for government environments
  • Developers and IT professionals seeking to enhance their Linux programming skills for government projects
 14 Hours

Number of participants


Price per participant

Upcoming Courses

Related Categories