3 ms·
Usually you don't put any extension on scripts that use a shebang (#!), so that you can chmod +x them, put them in your path, and use them like normal commands
by jasonhansel 4y ago
Usually you don't put any extension on scripts that use a shebang (#!), so that you can chmod +x them, put them in your path, and use them like normal commands (which don't have a suffix).
IMHO the .sh extension should only be used for code that you're supposed to "source" instead of executing.
- mynameisvlad 4y agoDownloaded scripts do generally have extensions, and they are almost exclusively .eh, which was the point of my comment.
- flatiron 4y agoOnly if they are Canadian scripts.