MENU

Fun & Interesting

[98] Intro to Bash Scripting (Rebecca BurWei)

Data Umbrella 1,054 lượt xem 1 year ago
Video Not Working? Fix It Now

Join our Meetup group:
https://www.meetup.com/data-umbrella

## Resources
a) repo: https://github.com/rebecca-burwei/intro-to-bash-scripting/
b) slides: https://docs.google.com/presentation/d/1X9pOOEFOIK2oI26VvuNKRBC8psIM8HnGqOZ6fOUF8jM/edit#slide=id.p
c) bash file examples: https://github.com/rebecca-burwei/intro-to-bash-scripting/tree/main/bin

## About the Event
This talk is for all of us who feel like we never learned Bash properly. The goal is to increase our self-sufficiency in writing Bash. We'll start with some basic Bash commands, but move quickly to combining commands, scripting, error handling and resources for teaching yourself more.

Audience: This should interest folks working in DevOps or developers doing repetitive file tasks as well as in cybersecurity and more.

## Timestamps
00:00 Data Umbrella Introduction
04:05 Rebecca begins presentation
05:24 Agenda
05:39 What is bash? A brief history of shells
06:56 What is bash used for?
07:58 Scripting basics + resources
09:36 What does this code do? Analyzing an ETL script
11:20 (three min. of quiet time begins)
14:24 Begin code walkthrough
15:33 Deeper dive on `curl` and `ssconvert`
18:33 Continuing code walkthrough
20:16 Quick summary
20:45 Making the code into a script
22:45 Making the script executable
24:17 Running the script
25:52 Turning code into a script - best practices
26:01 Ways to customize your bash environment
26:54 Customize bash environment - .bashrc example
28:36 Song break + interactive chat time
33:06 Returning from break, reviewing chat
34:27 Improving the script - error handling + demo
41:04 Error handling - more resources
41:24 Improving the script - logging + demo
46:15 Improving the script - options + demo
50:00 (two min of quiet time begins)
52:05 Continuing options demo
54:16 Summary + mentorship/collaboration
55:07 Q&A - ssconvert/gnumeric, GNU, esac

## About the Speaker
Rebecca BurWei is a Staff Data Scientist at Mozilla. She has a patent in computer vision and a PhD in mathematics. She learned to code in open-source communities, and is passionate about developing the technical leadership of others.

- GitHub: https://github.com/rebecca-burwei
- LinkedIn: https://www.linkedin.com/in/rebecca-burwei/

#opensource #bash

Comment