aboutsummaryrefslogtreecommitdiff
path: root/cheat/.cheat/ping
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-11-27 15:37:48 +0100
committerneodarz <neodarz@neodarz.net>2018-11-27 15:38:23 +0100
commit15a404e6a0d95383f02423860a599ad987830424 (patch)
tree9d436add216637e8da066f6f85611306dfc4ba85 /cheat/.cheat/ping
parent8e781f77466eb7ee6b78301042a37b5f61766e70 (diff)
downloaddotfiles_ascii-15a404e6a0d95383f02423860a599ad987830424.tar.xz
dotfiles_ascii-15a404e6a0d95383f02423860a599ad987830424.zip
Add some cheat
Diffstat (limited to 'cheat/.cheat/ping')
-rw-r--r--cheat/.cheat/ping8
1 files changed, 8 insertions, 0 deletions
diff --git a/cheat/.cheat/ping b/cheat/.cheat/ping
new file mode 100644
index 0000000..a50198b
--- /dev/null
+++ b/cheat/.cheat/ping
@@ -0,0 +1,8 @@
+# ping a host with a total count of 15 packets overall.
+ping -c 15 www.example.com
+
+# ping a host with a total count of 15 packets overall, one every .5 seconds (faster ping).
+ping -c 15 -i .5 www.example.com
+
+# test if a packet size of 1500 bytes is supported (to check the MTU for example)
+ping -s 1500 -c 10 -M do www.example.com