Skip to content
Scripting OS X

Scripting OS X

#! is not a curse word

  • MacAdmins.news
  • About the Author
  • Popular Articles

Social

  • Facebook
  • GitHub
  • LinkedIn
  • Mastodon

Books

  • NEW: macOS Terminal and Shell
  • Moving to zsh
  • Packaging
  • Books FAQ

Presentations

  • macOS Automation
  • Use Swift with the Jamf API
  • Let’s Swift Again!
  • Practical Scripting
  • Scripting Jamf: Best Practices
  • Moving to zsh
  • Terminal Witchcraft
  • Automating Installations with Installomator
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Practical Scripting – MacSysAdmin Online 2020

These are the slides and notes to my presentation “Practical Scripting” for the MacSysAdmin Online 2020.

  • Slides: iCloud, PDF
  • Video

You might also want to watch my Virtual JNUC 2020 presentation on “Scripting Jamf: Best Practices.”

Installomator

  • GitHub: scriptingosx/Installomator
  • Introducing Installomator
  • Using Installomator with Jamf Pro
  • AutoPkg
  • Download and Install Microsoft Product – William Smith
  • HandBrake hacked to drop new variant of Proton malware – Malwarebytes Labs (2017)
  • Transmission hijacked again to spread malware – Malwarebytes Labs (2016)

Shebang

  • On the Shebang (from 2017, before zsh was made default shell)
  • About bash, zsh, sh, and dash in macOS Catalina and beyond
  • Moving to zsh, part 8 – Scripting zsh
  • Get Current User in Shell Scripts on macOS (another post that starts talking about the current user, but then goes into bash, zsh, and sh differences)
  • Snakes on a Plan – Greg Neagle, MacSysAdmin Online 2020 (link forthcoming)
  • Wrangling Pythons

macOS System Version

  • This One Goes to 11 – Greg Neagle, MacSysAdmin Online 2020
  • macOS Version Big Sur Update
  • macOS version numbering isn’t so simple –Howard Oakley

Return Codes

  • Show Exit Code in your bash Prompt
  • Moving to zsh, part 6 – Customizing the zsh Prompt

User Interaction

  • User Interaction from bash Scripts
  • Running a Command as another User

Conclusion

  • MacAdmins Slack

You can find me on the MacAdmins Slack and Twitter as @scriptingosx.

Proudly powered by WordPress