티스토리 뷰
curl 명령어
/usr/bin/curl --interface tun1 google.com youtube.com -s -o /dev/null -w "%{http_code}\n" --connect-timeout 1
--interface : 특정 이더넷 장치를 통해서 통신하라 "%{http_code}\n" : 상태 코드를 출력 --connect-timeout 1 : 1초 동안 응답이 없으면 종료 (해당 옵션이 없으면 응답이 있을때 까지 기다림)
|
curl -sI http://192.168.56.5 | awk '/Content-Length/ { print $2 }'
'Linux' 카테고리의 다른 글
iptables-extensions (0) | 2018.04.02 |
---|---|
iptables CT extension (0) | 2018.04.02 |
mrtg-ping-probe (0) | 2018.02.22 |
error - received an unknown control message (0) | 2018.02.19 |
tunctl 설치 (0) | 2018.01.24 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- IPSEC
- WAF
- centos8
- virtualbox
- HAProxy
- SSL
- galera
- kvm
- 베이어다이나믹
- MySQL
- mariadb
- ntp
- centOS7
- pptp
- OpenVPN
- mod_security
- yum
- Apache
- 리눅스
- GeoIP
- 인증서
- glusterfs
- softether
- iptables
- gitlab
- php
- L2TP
- cURL
- ssh
- NGINX
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함