In this course you learn how to do Linux bash scripting. Specifically, data manipulation utilities and shell syntax for synthesizing command pipelines are emphasized. Bourne shell, Bash shell and Korn shell programming techniques are introduced so students will be able to read and modify existing shell scripts as well as create their own.





Learning Objectives

You will learn:

  • Communicating over the network
  • Using telnet commands
  • Remote access with password authentication
  • How to write and run shell scripts
  • Using conditional constructs to control script execution
  • Manipulating strings
  • Command-line processing
  • Using regular expressions
  • String processing utilities: sed,grep and awk
  • Writing functions
  • Working with UNIX I/O streams




Topics and Subtopics

The following outline is covered in this course:



1- Basic User Commands

  • Logging In and Logging Out
  • Command Line Editing
  • Navigating the File System
  • Viewing and Copying Files
  • Controlling the Terminal
  • Sending and Receiving Mail


2- Introduction to Shells: Zsh and Fish

  • Shell Functions
  • I/O Redirection and Pipes
  • Command Separation and Grouping
  • Background Execution
  • Filename Expansion
  • Shell Variables
  • Command Substitution
  • Quoting and Escaping Metacharacters
  • Zsh Shell Features
  • Fish Shell Features
  • Command Execution
  • Startup Files
  • Customizing the User Environment


3- Shell Programming

  • Shell Script Features and Capabilities
  • Creating and Running a Script
  • Working With Variables
  • Environment Variables
  • Working With Data Types
  • Formatting
  • Base Conversion
  • Setting Special Attributes
  • Input/Output Techniques
  • Conditional Constructs
  • if/then
  • else/elif
  • Looping Constructs
  • for, while, until
  • Math Operators


4- Advanced Shell Features

  • Manipulating Strings
  • Writing and Calling Functions
  • Controlling Process Priorities
  • Interpreting Command Line Arguments
  • Making Scripts Interactive
  • Special Shell Variables
  • Advanced I/O with Streams
  • Improving Performance of Scripts




5- Text Manipulation Utilities

  • Editing a File from a Script
  • Scripting with ed or sed
  • UNIX and Linux Utilities to Manipulate Files
  • Regular Expressions
  • grep and egrep
  • The Stream Editor sed
  • Sorting in Scripts
  • Generating Reports with awk
  • Splitting Large Files
  • Counting Words, Lines, and Characters
  • Transforming File Contents
  • Extracting Text Strings


6- Networking Commands

  • UNIX Network Applications
  • Remote Execution Commands
  • Remote Activity Reporting
  • Communicating with Remote Users
  • Internet Applications
  • ftp, tftp, telnet
  • Remote Access Control Mechanisms
  • Using the Secure Shell(ssh)




Requirements

Good knowledge of Linux commands is required.





Related Courses





Complete Training Bundle

If you are serious about becoming a pro system admin or cloud specialist, you should enroll in our System Admin- Complete Training Bundle. This bundle covers all essential and practical topics related to system administration. For $290 monthly subscription, you can have access to 300+ hours of hands-on project-based training covering all courses related to system administration like Linux, SQL, No-SQL, or Graph database development, bash scripting, Docker, Kubernetes and many more. Click here to learn more.



Private Tutoring Classes

To take skills you learn from this course to the next level, taking the following tutoring classes are highly recommended. It is also a great opportunity to discuss your questions and problems related to this course with an experienced instructor:




What Is Next?

After finishing this course, you can enroll in any of following classes:


Recommended Free Courses

If you are new to the IT or programming, we suggest the following free courses:


Select a pricing plan and sign up

$90

Paid Course

2 payments of $59/m

Paid Course

4 payments of $39/m

Paid Course