Adding a directory to your PATH is how you get macOS to find a command by name instead of typing its full location every time. There’s more than one way to do it, and which…
Ending a process on macOS is two steps: find it, then send it a signal. ps, pgrep, and lsof find it; kill, pkill, and killall end it. The three “kill” commands differ only in how…