Thank you for purchasing through links and ads on this site.
OWC / MacSales.com...
diglloyd Deal Finder...
Buy other stuff at Amazon.com...
Speed To Create, Capacity To Dream
Storage Wishlist…

How to Make a Shell Script Executable

Last updated 2013-01-08 - Send Feedback
Related: how-to, How To, Software

A shell script is just a text file.

It might or might not have a filename extension like “.sh” or “.bash”.

To make it executable at the command line, its file flags must be changed to allow execution:

# Make the script 'verifyVolumes.sh' executable
diglloyd:MPG lloyd$ sudo chmod +x verifyVolumes.sh

Use this cautiously, do not apply willy-nilly, and only to trusted scripts.

SSD Upgrade for MacBook Pro Retina
Internal SSD Wishlist…

diglloyd.com | Terms of Use | PRIVACY POLICY
Contact | About Lloyd Chambers | Consulting | Photo Tours
Mailing Lists | RSS Feeds | Twitter
Copyright © 2008-2017 diglloyd Inc, all rights reserved.
Display info: __RETINA_INFO_STATUS__