linux工具的使用
来源:互联网 发布:淘宝店铺怎么注册 编辑:程序博客网 时间:2024/06/04 19:36
1:判断一个服务器的状态,是否可以connect,只需要输入:
nc -v -w 2 113.106.94.104 -z 1017-1019
nc -v -w 连接失败后重复次数 ip -z 端口号
2:获取http的详细信息
curl -vosa http://www.baidu.com
alen@alen:~$ curl -vosa http://www.baidu.com* Rebuilt URL to: http://www.baidu.com/* Hostname was NOT found in DNS cache % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 112.80.248.73...* Connected to www.baidu.com (112.80.248.73) port 80 (#0)> GET / HTTP/1.1> User-Agent: curl/7.35.0> Host: www.baidu.com> Accept: */*> < HTTP/1.1 200 OK* Server bfe/1.0.8.18 is not blacklisted< Server: bfe/1.0.8.18< Date: Tue, 13 Sep 2016 07:56:02 GMT< Content-Type: text/html< Content-Length: 2381< Last-Modified: Mon, 25 Jul 2016 11:12:14 GMT< Connection: Keep-Alive< ETag: "5795f40e-94d"< Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform< Pragma: no-cache< Accept-Ranges: bytes<
0 0
- linux工具的使用
- Linux开发工具的使用
- linux截图工具的使用
- linux《vi工具的使用》
- linux screen工具的使用
- linux strace 工具的使用
- linux strace 工具的使用
- linux下的工具使用
- [Linux]cmake工具的使用
- 【Linux】vim工具的使用
- linux下嗅探工具tcpdump的使用
- linux下nmap工具的使用
- linux下编辑工具VI的使用
- windows平台使用的linux工具
- linux下nmap工具的使用
- LINUX中的rfcomm命令工具的使用
- Linux系统pkg-config工具的使用
- Linux下c编程工具的使用
- SpringBind对象到页面时,用ajax提交form表单内容,后台无法获取绑定对象问题
- 快速排序及优化算法(三向切分的快速排序)
- android contacts
- 高性能网络编程-反应堆模型(reactor)
- IONIC 命令
- linux工具的使用
- 文才飞杨,句句精典
- Mybatis调用PostgreSQL存储过程实现数组入参传递
- Openlayer总结
- vsftpd相关
- iOS控件详解之UIScrollView
- 网站页面静态化方案
- Chart: 备份
- ReactNative学习路线图