These are the slides, links and notes for my presentation “Scripting Bash” at MacSysAdmin 2017 in Göteborg.
You can find the entire Presentation as a Keynote document here.
You can find the session’s video here: MacSysAdmin 2017 Session Documentation page (Direct link to video)
“Learning Unix for OS X: Going Deep With the Terminal and Shell” by Dave Taylor, Amazon US UK DE “Take Control of the Mac Command Line with Terminal” by Joe Kissell, iBooks, Amazon US UK DE “Classic Shell Scripting” by Arnold Robbins and Nelson H. Beebe, iBooks, Amazon US UK DE. Dave Taylor has been hacking shell scripts on UNIX and Linux systems for a really long time. He's the author of Learning Unix for Mac OS X and Wicked Cool Shell Scripts.You can find him on Twitter as @DaveTaylor, and you can reach him through his tech Q&A site: Ask Dave Taylor. Learning Unix for Mac OS X teaches some of the basic essentials of working in Unix, without going into sufficient detail to show why you might actually want to do so. It seems like brevity was a goal for this book, not a side-effect of its introductory nature. An introductory book should be chock full of situation-based examples, and should provide enough complexity to show the.
List available shells on macOS:
cat /etc/shells
Change user shell:
chsh -s /path/to/shell
Other Shells
XKCD:
General Links
- Shell Scripts Matter – Thibaut Rousseau: main inspiration for this talk
- TLDP: Quoting
- Terminal-Finder Interaction contains some examples on how to integrate AppleScript/
osascript
withbash
Git and Github
- Official git documentation, including the free book “Pro Git” by Scott Chacon and Ben Straub(iBooks)
- Try Git Tutorial (by GitHub) Nice broswer based interactive tutorial
Books
Shell and Terminal
- “Learning Unix for OS X: Going Deep With the Terminal and Shell” by Dave Taylor, Amazon USUKDE
- “Take Control of the Mac Command Line with Terminal” by Joe Kissell, iBooks, Amazon USUKDE
- Scripting OS X: Terminal Primer
Bash Scripting
- “Classic Shell Scripting” by Arnold Robbins and Nelson H. F. Beebe, iBooks, Amazon USUKDE
- “Learning the bash Shell: Unix Shell Programming” by Cameron Newham, iBooks, Amazon USUKDE
- “bash Cookbook: Solutions and Examples for bash Users” by Carl Albing, JP Vossen, Cameron Newham, iBooks, Amazon USUKDE
- also, check out the
bash
section on free programming books
AppleScript
- “AppleScript 1-2-3” by Sal Soghoian, Bill Cheeseman, iBooks, Amazon USUKDE
- AppleScript Language Guide (Apple Developer Documentation)
Python
- “Learning Python” by Fabrizion Romano (free eBook)
- “Learning Python: Powerful Object-Oriented Programming” (O’Reilly) by Mark Lutz, iBooks, Amazon USUKDE
Swift
Os X Download
- Apple’s Swift Playgrounds for iPad: very basic, but entertaining entry level coding
- The Swift Programming Language (Apple), free iBook
- “Swift Programming: The Big Nerd Ranch Guide” by Matthew Mathias, John Gallagher, Amazon USUKDE
- “Hacking with Swift” by Paul Hudson, free online or buy on iBooks