diff --git a/test_dns.sh b/test_dns.sh new file mode 100644 index 0000000..0a098e2 --- /dev/null +++ b/test_dns.sh @@ -0,0 +1,3 @@ +#!/bin/sh +# Test DNS server on port 5300 +dig @127.0.0.1 -p 5300 example.com diff --git a/test_file.sh b/test_file.sh new file mode 100644 index 0000000..08d0c6b --- /dev/null +++ b/test_file.sh @@ -0,0 +1,4 @@ +#!/bin/sh +# Test File server on port 9090 +# Send file name "test.txt" to server and print response +echo "test.txt" | nc 127.0.0.1 9090 diff --git a/test_http.sh b/test_http.sh new file mode 100644 index 0000000..531d30f --- /dev/null +++ b/test_http.sh @@ -0,0 +1,3 @@ +#!/bin/sh +# Test HTTP server on port 8080 +curl -v http://127.0.0.1:8080/