Creating a shell script for macOS
You can create any shell script you want for execution on macOS devices, as long as the script can run within a shell script file. You can use wrappers if necessary. The execution of binary files from within a shell script is not supported.
You can copy and modify existing scripts, or create your own.
Before you begin
Before you can run shell scripts on macOS devices, you must have instructed macOS device users to:
- download and install Mobile@Work for macOS
- register with Core using Mobile@Work for macOS
Registering macOS devices with Core using Mobile@Work for macOS
Shell scripting primer (on the Apple website)