macOSでpingが見つからない
環境
問題
code:zsh
$ ping
zsh: command not found: ping
原因
環境変数PATHに、pingがあるディレクトリが含まれていない 解決法
環境変数PATHに/sbinを追加する
code:zsh
$ ping
Apple specific options (to be specified before mcast-group or host like all options)
-b boundif # bind the socket to the interface
-k traffic_class # set traffic class socket option
-K net_service_type # set traffic class socket options
-apple-connect # call connect(2) in the socket
-apple-time # display current time