Syeed Ali via plug on 30 May 2023 17:39:10 -0700


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

Re: [PLUG] zsh: command not found:


On Tue, 30 May 2023 18:49:18 -0400
Ronald P Guilmet via plug <plug@lists.phillylinux.org> wrote:


I learned about the "hash" command, maybe that's the solution?  I read:

hash -r will reload your shell hash-table for the executable within
your $PATH



> 3. The file is a bash script with the proper shebang path to
> /bin/bash, and the bash location is verified by 'which bash'.

This doesn't solve your problem, but it's a good practice for your
shebang to be something like:

#!/usr/bin/env bash

(also maybe try plain sh)
___________________________________________________________________________
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