diff options
author | James Pannacciulli <jpnc@jpnc.info> | 2017-09-16 22:06:53 -0700 |
---|---|---|
committer | James Pannacciulli <jpnc@jpnc.info> | 2017-09-16 22:06:53 -0700 |
commit | 32b8a73bedd4a7f7e04c70ab05d3a704cd63b593 (patch) | |
tree | 3852887233658b1c7269684e4896928a1fcd2a68 | |
parent | 09ee8329b27ed3ef7466b3b6e25a655493fe263c (diff) | |
download | parssh-32b8a73bedd4a7f7e04c70ab05d3a704cd63b593.tar.gz parssh-32b8a73bedd4a7f7e04c70ab05d3a704cd63b593.tar.bz2 |
more markdown changes
-rw-r--r-- | README.md | 21 |
1 files changed, 5 insertions, 16 deletions
@@ -6,35 +6,24 @@ Instructions - Source pars.sh to your Bash session: -```bash -. pars.sh -``` + . pars.sh - Run *parssh* function for usage information: -```bash -parssh --help -``` + parssh --help - Run simple command on listed servers from list: -```bash -parssh "md5sum /bin/bash" < SERVERLIST -``` + 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 -``` + parssh "$(declare -f FUNCTIONS; declare -p VARIABLES); FUNCTIONS" < SERVERLIST - Export FUNCTIONS and VARIABLES from local Bash session to remote hosts from 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 -``` + parssh -35 -C -t PROJECT_NAME "$(declare -f FUNCTIONS; declare -p VARIABLES); FUNCTIONS" < SERVERLIST |