Good Shell Patterns
We’ll discuss tried-and-true code snippets you can use to make your code more reliable, easier to read, and quicker to debug. Enjoy the elegance of cd $(dirname $0)
, performing actions only on successful exit, and informational help messages. We’ll cover all those minor changes that continually come up in our code review sessions that reap outsized rewards.
Presenters
Bri Hatch, ExtraHop Networks
Bri Hatch is Director of IT at ExtraHop Networks, and Chief Hacker at Onsight, Inc. An adamant Open Source advocate and security buff, Bri is the author of Hacking Linux Exposed, Building Linux VPNs, and numerous online articles on the topics of Linux, security, and coding. He has been securing and breaking into systems since before he traded in his Apple II+ for his first Unix system.