summaryrefslogtreecommitdiff
path: root/doc/examples.md
diff options
context:
space:
mode:
authorPaul Bütow <pbuetow@mimecast.com>2020-02-07 16:53:33 +0000
committerPaul Bütow <pbuetow@mimecast.com>2020-02-07 16:53:33 +0000
commit3a8d8ae4686256d0af9a3cc76128c140d89acd9e (patch)
treeb49d29370b3fb8382a46c8ee7cdf27d0607337cb /doc/examples.md
parent0945da8dfefcbb723eecea0e5f4eafff63398253 (diff)
add drun to the docs
Diffstat (limited to 'doc/examples.md')
-rw-r--r--doc/examples.md13
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/examples.md b/doc/examples.md
index 964660a..df61631 100644
--- a/doc/examples.md
+++ b/doc/examples.md
@@ -50,7 +50,18 @@ The following example demonstrates how to grep files (display only the lines whi
--regex swap
```
-![dgrep](dgrep.gif "Grep example")
+![dgrep](drun.gif "Run example")
+
+# How to use ``drun``
+
+The following example demonstrates how to execute a command on multiple machines remotely:
+
+```shell
+% drun --servers <(head -n 30 serverlist.txt) \
+ --command uptime
+```
+
+![dgrep](drun.gif "Run example")
# How to use ``dmap``