aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Pannacciulli <jpnc@jpnc.info>2017-09-17 04:58:07 (GMT)
committerJames Pannacciulli <jpnc@jpnc.info>2017-09-17 04:58:07 (GMT)
commit09ee8329b27ed3ef7466b3b6e25a655493fe263c (patch)
tree3a2dce86b38452150bb2c628a3f488487a2ee4ab
parentd80db380adacca4f343c5a3237d0a7e3b1fd0cf8 (diff)
downloadparssh-09ee8329b27ed3ef7466b3b6e25a655493fe263c.tar.gz
parssh-09ee8329b27ed3ef7466b3b6e25a655493fe263c.tar.bz2
more markdown adjustments
-rw-r--r--README.md12
1 files changed, 7 insertions, 5 deletions
diff --git a/README.md b/README.md
index c254a78..9852625 100644
--- a/README.md
+++ b/README.md
@@ -5,25 +5,27 @@ Instructions
------------
- Source pars.sh to your Bash session:
-```
+
+```bash
. pars.sh
```
- Run *parssh* function for usage information:
-```
+
+```bash
parssh --help
```
- Run simple command on listed servers from list:
-```
+```bash
parssh "md5sum /bin/bash" < SERVERLIST
```
- Export FUNCTIONS and VARIABLES from local Bash session to remote hosts from
SERVERLIST and execute:
-```
+```bash
parssh "$(declare -f FUNCTIONS; declare -p VARIABLES); FUNCTIONS" < SERVERLIST
```
@@ -32,7 +34,7 @@ SERVERLIST and execute with a concurrency of 35, saving and displaying output
along with the commands and meta-data as a header in the 'PROJECT_NAME.out'
and 'PROJECT_NAME.err' files:
-```
+```bash
parssh -35 -C -t PROJECT_NAME \
"$(declare -f FUNCTIONS; declare -p VARIABLES); FUNCTIONS" < SERVERLIST
```