SIGN IN SIGN UP

Refactor scripts to use `command -v` instead of `which` (#20306)

`which` is not a core package is some distributions.
Included changes from #20309 

Release Notes:

- N/A
J
Jeevitha Kannan K S committed
4f06f5b8fe5b9f04487c403031c87be7b8baf08b
Parent: 555a219
Committed by GitHub <noreply@github.com> on 11/7/2024, 7:34:56 AM