Our website uses cookies. By clicking on accept, you give your consent to the use of cookies as per our Privacy Policy.
Startup
folder in your user directory. This folder is located at: ~/Library/LaunchAgents
New File
. Then, select Shell Script
. #!/bin/bash
# This script will print "Hello World" to the terminal echo "Hello World!"
System Preferences
application and click on the Users & Groups
icon. Then, click on your user account and select the Login Items
tab. +
button and select the script that you created. The script will now run on startup. Startup
folder in your user directory. This folder is located at: ~/Library/LaunchAgents
New File
. Then, select Shell Script
. #!/bin/bash
# This script will print "Hello World" to the terminal echo "Hello World!"
System Preferences
application and click on the Users & Groups
icon. Then, click on your user account and select the Login Items
tab. +
button and select the script that you created. The script will now run on startup.