Last Update: Oct 15, 2024

Learn Linux Scripting with Hands-on Projects

  • Free

About Course

Begin your journey into the world of scripting with our course designed to help you Learn Linux scripting effectively. This program covers the essentials of linux scripting basics, equipping you with the skills to automate tasks and enhance your productivity in Linux environments. You’ll explore various scripting techniques, making it easier to write efficient scripts for everyday use.

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.

 

Shell Programming In Linux

Are you interested in shell programming in Linux? Our course provides a comprehensive introduction to Shell programming in Linux for beginners. You will learn how to create and execute shell scripts, manage variables, and handle input/output operations. With practical exercises and real-world examples, you’ll develop the confidence needed to automate tasks and streamline processes within your Linux system.

Linux Scripting Course 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

 

Linux Scripting Topics and Subtopics

The following outline is covered in this course:

1- Basic User Commands

1- Log in/out & Navigating via Linux Command Line

2- Navigating Linux file system and more

3- Basic Linux User Commands

2- Introduction to Shells and Fish Bash Scripting

1- I/O Redirection and Pipes in Linux

2- Command Separation, Background Execution, & Filename Expansion

3- Shell Variables, Command Substitution, Quoting & Escaping Metacharacters

4- Fish shell Features

5- Command Execution, Startup Files & Customizing User Environment

3- Shell Programming

1- Linux Shell Scripts, Variables, Data Types and I/O

2- Linux Conditional Constructs- if/then and else/elif

3- for, while and until Looping Constructs in Linux

4- Basic Operators in Linux Shell

4- Advanced Shell Features

1- Manipulating Strings with Linux Shell

2- Writing and Calling Functions in Linux Shell

3- Command Line Arguments, Special Shell Variables & Advanced I/O

5- Text Manipulation Utilities

1- Editing and Manipulating Files in Linux Shell

2- Regular Expressions in Linux Shell

3- grep, egrep and sed in Linux Shell

4- Sorting in Scripts in Linux Shell

5- Working with awk in Linux Shell

6- Splitting Large Files, Transforming File Contents & Extracting Text Strings

6- Networking Commands

1- UNIX Network Applications

2- Internet Applications and Remote Access

3- Using Secure Shell or SSH

Project 1- Bash Scripting with 12 Examples

1- Using While Loop in Bash Scripting

2- Using For Loop in Bash Scripting

3- Bash Scripting Example- Get User Input

4- Using if statement in Bash Scripting

5- Using if statement with AND logic in Bash Scripting

6- Using if statement with OR logic in Bash Scripting

7- Using else if statement in Bash Scripting

8- Using Case Statement in Bash Scripting

9- Create Function in Bash Scripting

10- Create function with Parameters in Bash Scripting

11- Pass Return Value from Function in Bash Scripting

12- Get Parse Current Date in Bash Scripting

Project 2- Grep Command with 10 Examples

1-3: Find a Single Charterer, String, & Special Character in a Text File

4 and 5: Matching Lines Beginning or Ending with Certain Text

6: Matching Lines of a Certain Length with Grep command

7: Matching Lines That Contain Any of Some Regexps

8: Matching Lines That Contain All of Some Regexps

9: Matching Lines That Only Contain Certain Characters

10: Finding Phrases Regardless of Spacing

Homework- Bash Scripting Q/A

Practice Bash scripting

 

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 Coding Bootcamps school 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:

 

Linux Live Classes

 

Red Hat Certifications

 

What Is Next?

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

What Will You Learn?

  • Learn new things
  • Revamp your career
  • Target IT jobs
  • Sharpen your skills
Free
Free access this course

Requirements

  • A laptop or PC
  • Good Internet
  • Routine Study
  • Regular Join Class