Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Troubleshooting and Debugging Bash

Troubleshooting and Debugging Bash

1h 5mAdvanced2019-12-12

Authors

Sean Colins

Sean Colins

Management Consultant, Author, Trainer, and Entrepreneur

Course details

Programmers joke that 90% of all coding is actually debugging. In scripting, the number could be even higher. Learn how to resolve your Bash scripting issues faster and get your scripts to run right. This course teaches you how to how to set yourself up for success from the very beginning by learning what components to search for in a good script editor and how to use those features to build observability into your script. You can also discover how to more easily find and identify bugs within scripts by enabling logging techniques and reporting of error conditions. Instructor Sean Colins also explains how to successfully re-use code that you built—or that others have built before you—and efficiently locate and repair the most common Bash scripting bugs.

Learning objectives
Choosing an editor
Leveraging automatic code completion
Formatting code
Setting script permissions
Organizing and segmenting code
Adding valuable comments
Testing regular expressions
Troubleshooting errors
Testing functions
Replacing variables
Reverse-engineering existing code
Learning commands
Accessing code repositories

Skills covered

BashIT AutomationNetwork and System AdministrationOpen SourceDeep Dive (X:Y)

Concepts

0. Introduction

  • 01 - Bash scripting basics
  • 02 - What you should know

1. Choosing an Editor

  • 03 - Research
  • 04 - Automatic code completion
  • 05 - Resizing text
  • 06 - Collapse code
  • 07 - Colored text

2. Formatting and Testing

  • 08 - Archiving work
  • 09 - Style guides
  • 10 - Script permissions
  • 11 - Escaping spaces
  • 12 - Case sensitivity
  • 13 - Testing in real life

3. Organization

  • 14 - Comment your script
  • 15 - Change logging
  • 16 - Placement of variables
  • 17 - Segment code into functions
  • 18 - Testing regular expressions

4. Troubleshooting Errors in Code

  • 19 - Find open arguments
  • 20 - Echo out progress
  • 21 - Piping status
  • 22 - Testing functions
  • 23 - Environment variables
  • 24 - Replacing variables
  • 25 - Math challenges

5. Reusing Code

  • 26 - Help
  • 27 - Reverse engineering
  • 28 - Cross-platform quirks
  • 29 - Learning commands
  • 30 - Reading man
  • 31 - Code repositories

Conclusion

  • 32 - Additional resources for Bash

Related courses

Related learn paths

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
zarinpal
zibal