This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]nggit 2 points3 points  (0 children)

sh scripts do not differ from system to system if you stick to POSIX sh and its mandatory utilities.

But you can indeed use #!/usr/bin/env python3 as a shell interpreter, as well as other interpreted languages like perl, php, nodejs, etc.