ITeye博客

linux shell获取网页内容,检测网页是否正常,ping 网页

foolraty · 2010-12-24 11:45 · 操作系统 · Markdown

下载页面文件到当前目录
wget "http://yor.wer.tld/yaeor/"
下面是不下载文件,如果服务器正常将返回个200的代码
wget --no-cache --spider http://yuor.server.tld/your/page.html

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。