nixCraft Linux / UNIX Newsletter

Link to [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format

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

Posted: 14 Mar 2020 04:21 PM PDT


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.