Steve Litt via plug on 31 May 2023 19:03:44 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] zsh: command not found:


Syeed Ali via plug said on Tue, 30 May 2023 17:38:50 -0700

but it's a good practice for your
>shebang to be something like:
>
>#!/usr/bin/env bash
>
>(also maybe try plain sh)

I always do #!/bin/sh

But I've seen lots of others use #!/usr/bin/env bash

What's the advantage of the latter?

Thanks,

SteveT

Steve Litt 
Autumn 2022 featured book: Thriving in Tough Times
http://www.troubleshooters.com/bookstore/thrive.htm
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug