Thank you for purchasing through links and ads on this site.
OWC / MacSales.com...
diglloyd Deal Finder...
Buy other stuff at Amazon.com...
Rigorously lab tested and OWC certified.

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.

Rigorously lab tested and OWC certified.
B&H Deal ZoneDeals by Brand/Category/Savings
Deals expire in 16 hours unless noted. Certain deals may last longer.

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__