Which Command

PHOTO EMBED

Sat Oct 10 2020 09:33:21 GMT+0000 (Coordinated Universal Time)

Saved by @eneki

which netcat uptime brew

//Output

/bin/netcat
/usr/bin/uptime
brew not found //(or appropriate response depending on your shell - could also return a blank line)
content_copyCOPY

To find whether or not a program has been installed.

https://linuxize.com/post/linux-which-command/