Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '.sh not necessary' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
.sh not necessary
Authored by: googoo on Apr 08, '10 09:43:29AM

There is no requirement for a shell script to have a .sh ending. The chmod command makes the file executable regardless of the extension. In fact, the command line does not distinguish between extensions except that they are part of the filename. The .sh extension is a convenience to the user although it may allow the finder to associate the file with a particular application when opened.

-Mark



[ Reply to This | # ]