apache/verification.txt
raw link view readme| 1 | httpd -S |
| 2 | |
| 3 | export PUBLIC_IP=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1 -d'/') |
| 4 | |
| 5 | curl -L http://$PUBLIC_IP/~dbetz |
| 6 | curl -u dbetz:mypassword -L http://$PUBLIC_IP/stuff |
| 7 |
| 1 | httpd -S |
| 2 | |
| 3 | export PUBLIC_IP=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1 -d'/') |
| 4 | |
| 5 | curl -L http://$PUBLIC_IP/~dbetz |
| 6 | curl -u dbetz:mypassword -L http://$PUBLIC_IP/stuff |
| 7 |