simple ping

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: KevinBuettnerkev@primenet.com
日付:  
題目: simple ping
On Oct 5, 3:38pm, Mike Starke wrote:

> This is simple: How can I ping a host to determine
> if it is up? How do I get back the error codes 0,1, 2?


How 'bout

    ping -c 1 -q hostname


Hmm... I'm seeing error codes 0 and 1, but not 2.