---
title: "linux shell获取网页内容,检测网页是否正常,ping 网页"
author: "foolraty"
date: "2010-12-24T11:45:05Z"
tags: []
categories: ["操作系统"]
slug: "linux-shell-ping"
draft: false
lastmod: "2010-12-24T11:45:05Z"
id: 851007
url: "https://foolraty.iteye.com/blog/851007"
---

```
下载页面文件到当前目录
```

```
wget "http://yor.wer.tld/yaeor/"
```

```
下面是不下载文件,如果服务器正常将返回个200的代码
```

```
wget --no-cache --spider http://yuor.server.tld/your/page.html
```