Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Troubleshooting and Debugging Bash

via LinkedIn Learning

Overview

Learn how to how to effectively troubleshoot and debug Bash scripts.

Syllabus

Introduction
  • Bash scripting basics
  • What you should know
1. Choosing an Editor
  • Research
  • Automatic code completion
  • Resizing text
  • Collapse code
  • Colored text
2. Formatting and Testing
  • Archiving work
  • Style guides
  • Script permissions
  • Escaping spaces
  • Case sensitivity
  • Testing in real life
3. Organization
  • Comment your script
  • Change logging
  • Placement of variables
  • Segment code into functions
  • Testing regular expressions
4. Troubleshooting Errors in Code
  • Find open arguments
  • Echo out progress
  • Piping status
  • Testing functions
  • Environment variables
  • Replacing variables
  • Math challenges
5. Reusing Code
  • Help
  • Reverse engineering
  • Cross-platform quirks
  • Learning commands
  • Reading man
  • Code repositories
Conclusion
  • Additional resources for Bash

Taught by

Sean Colins

Reviews

Start your review of Troubleshooting and Debugging Bash

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.