Make Linux/Unix Script Portable With #!/usr/bin/env As a Shebang


Why do some shell/perl/python scripts begin with #!/usr/bin/env? How do you make your Unix script portable across different UNIX like operating systems?

The post Make Linux/Unix Script Portable With #!/usr/bin/env As a Shebang appeared first on nixCraft.


Why do some shell/perl/python scripts begin with #!/usr/bin/env? How do you make your Unix script portable across different UNIX like operating systems?

The post Make Linux/Unix Script Portable With #!/usr/bin/env As a Shebang appeared first on nixCraft.

Posted by Web Monkey