#!/bin/tcsh # # makeVirtualEnvironment # Grab the hosts file and make a virtual environment for each machine. # # For example als will be executed as ls on $ahost, # bls will be executed as ls on $bhost, # cls will be executed as ls on $chost, # dls will be executed as ls on $dhost, # and so on. # # It simply makes aliases from _all_ the executables in the user's # path. # # A serious effort would require more work. This project also provides # an example of how code can be generated by machine. A large undertaking # was finished in a couple of hours. # # # This line parses the hosts file into variables. # 16 is the number of hosts that I want from my host file # Experiment with this line and set the variables accordingly. ( jot -c 16 97 ; cat /etc/hosts | grep -v '#' | grep .. | rev | cut -f1 -d' ' | rev | tail -16 ) | rs 1 | rs 2 | rs -t 16 | tr -s ' ' | awk '{print("setenv "$1"host "$2)}' # the second line makes the aliases echo $PATH | tr : '\n' | sed s/^/'\ls '/ | csh | awk '{print("alias a"$1" ssh user@%%DESIGNATE%%ahost "$1"## alias b"$1" ssh user@%%DESIGNATE%%bhost "$1"## alias c"$1" ssh user@%%DESIGNATE%%chost "$1"## alias d"$1" ssh user@%%DESIGNATE%%dhost "$1"## alias e"$1" ssh user@%%DESIGNATE%%ehost "$1"## alias f"$1" ssh user@%%DESIGNATE%%fhost "$1"## alias g"$1" ssh user@%%DESIGNATE%%ghost "$1"## alias h"$1" ssh user@%%DESIGNATE%%hhost "$1"## alias i"$1" ssh user@%%DESIGNATE%%ihost "$1"## alias j"$1" ssh user@%%DESIGNATE%%jhost "$1"## alias k"$1" ssh user@%%DESIGNATE%%khost "$1"## alias l"$1" ssh user@%%DESIGNATE%%lhost "$1"## alias m"$1" ssh user@%%DESIGNATE%%mhost "$1"## alias n"$1" ssh user@%%DESIGNATE%%nhost "$1"## alias o"$1" ssh user@%%DESIGNATE%%ohost "$1"## alias p"$1" ssh user@%%DESIGNATE%%phost "$1"#")}' | sed s/'##'/';#'/g | tr '#' '\n' | sed s/%%DESIGNATE%%/'\$'/ #### # this is how I got there. #### # 155 18:51 ssh gd-shell-02 ls s # 156 18:55 display s/shut.tiff # 157 18:58 ls /bin/ # 158 18:58 \ls /bin/ | sed s/^/v/ # 159 18:59 \ls /bin/ | awk '{print("alias v"$1" ssh proclus@gd-shell-02 "$1)}' # 160 19:01 cat bin/doFiling # 161 19:01 jot -c 26 65 # 162 19:01 jot -c 26 97 # 163 19:01 echo `jot -c 26 97` # 164 19:03 echo `jot -c 26 97` | sed s/' '/'\$1'/ # 165 19:03 echo `jot -c 26 97` | sed s/' '/'\$1'/g # 166 19:03 echo `jot -c 26 97` | sed s/' '/'\$1 '/g # 167 19:03 echo `jot -c 26 97` | sed s/' '/'\\"$1\" '/g # 168 19:04 echo `jot -c 26 97` | sed s/' '/'\"$1\" '/g # 169 19:04 jot -c 26 97 | tr '\n' ' ' | sed s/' '/'\"$1\" '/g # 170 19:04 jot -c 26 97 | tr '\n' ' ' | sed s/' '/'\"$1\" '/g && echo # 171 19:05 \ls /bin/ | awk '{print("a"$1" b"$1" c"$1" d"$1" e"$1" f"$1" g"$1" h"$1" i"$1" j"$1" k"$1" l"$1" m"$1" n"$1" o"$1" p"$1" q"$1" r"$1" s"$1" t"$1" u"$1" v"$1" w"$1" x"$1" y"$1" z"$1)}' # 172 19:06 \ls /bin/ | awk '{print(" a"$1" b"$1" c"$1" d"$1" e"$1" f"$1" g"$1" h"$1" i"$1" j"$1" k"$1" l"$1" m"$1" n"$1" o"$1" p"$1" q"$1" r"$1" s"$1" t"$1" u"$1" v"$1" w"$1" x"$1" y"$1" z"$1)}' # 173 19:06 jot -c 26 97 | sed s/'$'/host/ # 174 19:08 jot -c 26 97 | tr '\n' ' ' | sed s/' '/'\"ssh user@\"\$1\" '/g # 175 19:09 jot -c 26 97 | tr '\n' ' ' | sed s/' '/'\"ssh user@\"\$1host\" \"\$1'/g # 176 19:09 jot -c 26 97 | tr '\n' ' ' | sed s/' '/'\"ssh user@\"\$1host\" \"\$1\"'/g # 177 19:12 alias acmd ssh user@ahost cmd # 178 19:14 jot -c 26 97 | awk '{print("alias "$1"@@CMD@@ ssh user@"$1"host @@CMD@@")}' # 179 19:14 jot -c 26 97 | awk '{print("alias "$1"@@CMD@@ ssh user@@DESIGNATE@@"$1"host @@CMD@@")}' # 180 19:15 echo jot -c 26 97 | awk '{print("alias "$1"@@CMD@@ ssh user@@DESIGNATE@@"$1"host @@CMD@@")}' # 181 19:16 echo jot -c 26 97 | awk '{print("alias "$1"%%CMD%% ssh user@%%DESIGNATE%%"$1"host %%CMD%%")}' # 182 19:16 jot -c 26 97 | awk '{print("alias "$1"%%CMD%% ssh user@%%DESIGNATE%%"$1"host %%CMD%%")}' # 183 19:17 jot -c 26 97 | awk '{print("alias "$1"%%CMD%% ssh user@%%DESIGNATE%%"$1"host %%CMD%%;")}' # 184 19:18 jot -c 26 97 | awk '{print("alias "$1"%%CMD%% ssh user@%%DESIGNATE%%"$1"host %%CMD%%;")}' | sed s/%%CMD%%/"\$1"/ # 185 19:18 jot -c 26 97 | awk '{print("alias "$1"%%CMD%% ssh user@%%DESIGNATE%%"$1"host %%CMD%%;")}' | sed s/%%CMD%%/'\$1'/ # 186 19:18 jot -c 26 97 | awk '{print("alias "$1"%%CMD%% ssh user@%%DESIGNATE%%"$1"host %%CMD%%;")}' | sed s/%%CMD%%/'\$1'/g # 187 19:19 jot -c 26 97 | awk '{print("alias "$1"%%CMD%% ssh user@%%DESIGNATE%%"$1"host %%CMD%%;")}' | sed s/%%CMD%%/'\"\$1\"'/g # 188 19:19 jot -c 26 97 | awk '{print("alias "$1"%%CMD%% ssh user@%%DESIGNATE%%"$1"host %%CMD%%;")}' | sed s/%%CMD%%/'\"\$1\"'/g | wrap # 189 19:20 echo hiThere | awk '{print("alias a"$1" ssh user@%%DESIGNATE%%ahost "$1"; alias b"$1" ssh user@%%DESIGNATE%%bhost "$1"; alias c"$1" ssh user@%%DESIGNATE%%chost "$1"; alias d"$1" ssh user@%%DESIGNATE%%dhost "$1"; alias e"$1" ssh user@%%DESIGNATE%%ehost "$1"; alias f"$1" ssh user@%%DESIGNATE%%fhost "$1"; alias g"$1" ssh user@%%DESIGNATE%%ghost "$1"; alias h"$1" ssh user@%%DESIGNATE%%hhost "$1"; alias i"$1" ssh user@%%DESIGNATE%%ihost "$1"; alias j"$1" ssh user@%%DESIGNATE%%jhost "$1"; alias k"$1" ssh user@%%DESIGNATE%%khost "$1"; alias l"$1" ssh user@%%DESIGNATE%%lhost "$1"; alias m"$1" ssh user@%%DESIGNATE%%mhost "$1"; alias n"$1" ssh user@%%DESIGNATE%%nhost "$1"; alias o"$1" ssh user@%%DESIGNATE%%ohost "$1"; alias p"$1" ssh user@%%DESIGNATE%%phost "$1"; alias q"$1" ssh user@%%DESIGNATE%%qhost "$1"; alias r"$1" ssh user@%%DESIGNATE%%rhost "$1"; alias s"$1" ssh user@%%DESIGNATE%%shost "$1"; alias t"$1" ssh user@%%DESIGNATE%%thost "$1"; alias u"$1" ssh user@%%DESIGNATE%%uhost "$1"; alias v"$1" ssh user@%%DESIGNATE%%vhost "$1"; alias w"$1" ssh user@%%DESIGNATE%%whost "$1"; alias x"$1" ssh user@%%DESIGNATE%%xhost "$1"; alias y"$1" ssh user@%%DESIGNATE%%yhost "$1"; alias z"$1" ssh user@%%DESIGNATE%%zhost "$1";")}' # 190 19:21 \ls /bin/ | awk '{print("alias a"$1" ssh user@%%DESIGNATE%%ahost "$1"; alias b"$1" ssh user@%%DESIGNATE%%bhost "$1"; alias c"$1" ssh user@%%DESIGNATE%%chost "$1"; alias d"$1" ssh user@%%DESIGNATE%%dhost "$1"; alias e"$1" ssh user@%%DESIGNATE%%ehost "$1"; alias f"$1" ssh user@%%DESIGNATE%%fhost "$1"; alias g"$1" ssh user@%%DESIGNATE%%ghost "$1"; alias h"$1" ssh user@%%DESIGNATE%%hhost "$1"; alias i"$1" ssh user@%%DESIGNATE%%ihost "$1"; alias j"$1" ssh user@%%DESIGNATE%%jhost "$1"; alias k"$1" ssh user@%%DESIGNATE%%khost "$1"; alias l"$1" ssh user@%%DESIGNATE%%lhost "$1"; alias m"$1" ssh user@%%DESIGNATE%%mhost "$1"; alias n"$1" ssh user@%%DESIGNATE%%nhost "$1"; alias o"$1" ssh user@%%DESIGNATE%%ohost "$1"; alias p"$1" ssh user@%%DESIGNATE%%phost "$1"; alias q"$1" ssh user@%%DESIGNATE%%qhost "$1"; alias r"$1" ssh user@%%DESIGNATE%%rhost "$1"; alias s"$1" ssh user@%%DESIGNATE%%shost "$1"; alias t"$1" ssh user@%%DESIGNATE%%thost "$1"; alias u"$1" ssh user@%%DESIGNATE%%uhost "$1"; alias v"$1" ssh user@%%DESIGNATE%%vhost "$1"; alias w"$1" ssh user@%%DESIGNATE%%whost "$1"; alias x"$1" ssh user@%%DESIGNATE%%xhost "$1"; alias y"$1" ssh user@%%DESIGNATE%%yhost "$1"; alias z"$1" ssh user@%%DESIGNATE%%zhost "$1";")}' # 191 19:21 \ls /bin/ | awk '{print("alias a"$1" ssh user@%%DESIGNATE%%ahost "$1"; alias b"$1" ssh user@%%DESIGNATE%%bhost "$1"; alias c"$1" ssh user@%%DESIGNATE%%chost "$1"; alias d"$1" ssh user@%%DESIGNATE%%dhost "$1"; alias e"$1" ssh user@%%DESIGNATE%%ehost "$1"; alias f"$1" ssh user@%%DESIGNATE%%fhost "$1"; alias g"$1" ssh user@%%DESIGNATE%%ghost "$1"; alias h"$1" ssh user@%%DESIGNATE%%hhost "$1"; alias i"$1" ssh user@%%DESIGNATE%%ihost "$1"; alias j"$1" ssh user@%%DESIGNATE%%jhost "$1"; alias k"$1" ssh user@%%DESIGNATE%%khost "$1"; alias l"$1" ssh user@%%DESIGNATE%%lhost "$1"; alias m"$1" ssh user@%%DESIGNATE%%mhost "$1"; alias n"$1" ssh user@%%DESIGNATE%%nhost "$1"; alias o"$1" ssh user@%%DESIGNATE%%ohost "$1"; alias p"$1" ssh user@%%DESIGNATE%%phost "$1"; alias q"$1" ssh user@%%DESIGNATE%%qhost "$1"; alias r"$1" ssh user@%%DESIGNATE%%rhost "$1"; alias s"$1" ssh user@%%DESIGNATE%%shost "$1"; alias t"$1" ssh user@%%DESIGNATE%%thost "$1"; alias u"$1" ssh user@%%DESIGNATE%%uhost "$1"; alias v"$1" ssh user@%%DESIGNATE%%vhost "$1"; alias w"$1" ssh user@%%DESIGNATE%%whost "$1"; alias x"$1" ssh user@%%DESIGNATE%%xhost "$1"; alias y"$1" ssh user@%%DESIGNATE%%yhost "$1"; alias z"$1" ssh user@%%DESIGNATE%%zhost "$1"##")}' # 192 19:22 \ls /bin/ | awk '{print("alias a"$1" ssh user@%%DESIGNATE%%ahost "$1"; alias b"$1" ssh user@%%DESIGNATE%%bhost "$1"; alias c"$1" ssh user@%%DESIGNATE%%chost "$1"; alias d"$1" ssh user@%%DESIGNATE%%dhost "$1"; alias e"$1" ssh user@%%DESIGNATE%%ehost "$1"; alias f"$1" ssh user@%%DESIGNATE%%fhost "$1"; alias g"$1" ssh user@%%DESIGNATE%%ghost "$1"; alias h"$1" ssh user@%%DESIGNATE%%hhost "$1"; alias i"$1" ssh user@%%DESIGNATE%%ihost "$1"; alias j"$1" ssh user@%%DESIGNATE%%jhost "$1"; alias k"$1" ssh user@%%DESIGNATE%%khost "$1"; alias l"$1" ssh user@%%DESIGNATE%%lhost "$1"; alias m"$1" ssh user@%%DESIGNATE%%mhost "$1"; alias n"$1" ssh user@%%DESIGNATE%%nhost "$1"; alias o"$1" ssh user@%%DESIGNATE%%ohost "$1"; alias p"$1" ssh user@%%DESIGNATE%%phost "$1"; alias q"$1" ssh user@%%DESIGNATE%%qhost "$1"; alias r"$1" ssh user@%%DESIGNATE%%rhost "$1"; alias s"$1" ssh user@%%DESIGNATE%%shost "$1"; alias t"$1" ssh user@%%DESIGNATE%%thost "$1"; alias u"$1" ssh user@%%DESIGNATE%%uhost "$1"; alias v"$1" ssh user@%%DESIGNATE%%vhost "$1"; alias w"$1" ssh user@%%DESIGNATE%%whost "$1"; alias x"$1" ssh user@%%DESIGNATE%%xhost "$1"; alias y"$1" ssh user@%%DESIGNATE%%yhost "$1"; alias z"$1" ssh user@%%DESIGNATE%%zhost "$1"##")}' | sed s/##/';Z'/g # 193 19:22 \ls /bin/ | awk '{print("alias a"$1" ssh user@%%DESIGNATE%%ahost "$1"; alias b"$1" ssh user@%%DESIGNATE%%bhost "$1"; alias c"$1" ssh user@%%DESIGNATE%%chost "$1"; alias d"$1" ssh user@%%DESIGNATE%%dhost "$1"; alias e"$1" ssh user@%%DESIGNATE%%ehost "$1"; alias f"$1" ssh user@%%DESIGNATE%%fhost "$1"; alias g"$1" ssh user@%%DESIGNATE%%ghost "$1"; alias h"$1" ssh user@%%DESIGNATE%%hhost "$1"; alias i"$1" ssh user@%%DESIGNATE%%ihost "$1"; alias j"$1" ssh user@%%DESIGNATE%%jhost "$1"; alias k"$1" ssh user@%%DESIGNATE%%khost "$1"; alias l"$1" ssh user@%%DESIGNATE%%lhost "$1"; alias m"$1" ssh user@%%DESIGNATE%%mhost "$1"; alias n"$1" ssh user@%%DESIGNATE%%nhost "$1"; alias o"$1" ssh user@%%DESIGNATE%%ohost "$1"; alias p"$1" ssh user@%%DESIGNATE%%phost "$1"; alias q"$1" ssh user@%%DESIGNATE%%qhost "$1"; alias r"$1" ssh user@%%DESIGNATE%%rhost "$1"; alias s"$1" ssh user@%%DESIGNATE%%shost "$1"; alias t"$1" ssh user@%%DESIGNATE%%thost "$1"; alias u"$1" ssh user@%%DESIGNATE%%uhost "$1"; alias v"$1" ssh user@%%DESIGNATE%%vhost "$1"; alias w"$1" ssh user@%%DESIGNATE%%whost "$1"; alias x"$1" ssh user@%%DESIGNATE%%xhost "$1"; alias y"$1" ssh user@%%DESIGNATE%%yhost "$1"; alias z"$1" ssh user@%%DESIGNATE%%zhost "$1"##")}' | sed s/##/';#'/g # 194 19:22 \ls /bin/ | awk '{print("alias a"$1" ssh user@%%DESIGNATE%%ahost "$1"; alias b"$1" ssh user@%%DESIGNATE%%bhost "$1"; alias c"$1" ssh user@%%DESIGNATE%%chost "$1"; alias d"$1" ssh user@%%DESIGNATE%%dhost "$1"; alias e"$1" ssh user@%%DESIGNATE%%ehost "$1"; alias f"$1" ssh user@%%DESIGNATE%%fhost "$1"; alias g"$1" ssh user@%%DESIGNATE%%ghost "$1"; alias h"$1" ssh user@%%DESIGNATE%%hhost "$1"; alias i"$1" ssh user@%%DESIGNATE%%ihost "$1"; alias j"$1" ssh user@%%DESIGNATE%%jhost "$1"; alias k"$1" ssh user@%%DESIGNATE%%khost "$1"; alias l"$1" ssh user@%%DESIGNATE%%lhost "$1"; alias m"$1" ssh user@%%DESIGNATE%%mhost "$1"; alias n"$1" ssh user@%%DESIGNATE%%nhost "$1"; alias o"$1" ssh user@%%DESIGNATE%%ohost "$1"; alias p"$1" ssh user@%%DESIGNATE%%phost "$1"; alias q"$1" ssh user@%%DESIGNATE%%qhost "$1"; alias r"$1" ssh user@%%DESIGNATE%%rhost "$1"; alias s"$1" ssh user@%%DESIGNATE%%shost "$1"; alias t"$1" ssh user@%%DESIGNATE%%thost "$1"; alias u"$1" ssh user@%%DESIGNATE%%uhost "$1"; alias v"$1" ssh user@%%DESIGNATE%%vhost "$1"; alias w"$1" ssh user@%%DESIGNATE%%whost "$1"; alias x"$1" ssh user@%%DESIGNATE%%xhost "$1"; alias y"$1" ssh user@%%DESIGNATE%%yhost "$1"; alias z"$1" ssh user@%%DESIGNATE%%zhost "$1"##")}' | sed s/##/';#'/g | tr # '\n' # 195 19:23 jot -c 26 97 | awk '{print("alias "$1"%%CMD%% ssh user@%%DESIGNATE%%"$1"host %%CMD%%##")}' | sed s/%%CMD%%/'\"\$1\"'/g | wrap # 196 19:24 \ls /bin/ | awk '{print("alias a"$1" ssh user@%%DESIGNATE%%ahost "$1"## alias b"$1" ssh user@%%DESIGNATE%%bhost "$1"## alias c"$1" ssh user@%%DESIGNATE%%chost "$1"## alias d"$1" ssh user@%%DESIGNATE%%dhost "$1"## alias e"$1" ssh user@%%DESIGNATE%%ehost "$1"## alias f"$1" ssh user@%%DESIGNATE%%fhost "$1"## alias g"$1" ssh user@%%DESIGNATE%%ghost "$1"## alias h"$1" ssh user@%%DESIGNATE%%hhost "$1"## alias i"$1" ssh user@%%DESIGNATE%%ihost "$1"## alias j"$1" ssh user@%%DESIGNATE%%jhost "$1"## alias k"$1" ssh user@%%DESIGNATE%%khost "$1"## alias l"$1" ssh user@%%DESIGNATE%%lhost "$1"## alias m"$1" ssh user@%%DESIGNATE%%mhost "$1"## alias n"$1" ssh user@%%DESIGNATE%%nhost "$1"## alias o"$1" ssh user@%%DESIGNATE%%ohost "$1"## alias p"$1" ssh user@%%DESIGNATE%%phost "$1"## alias q"$1" ssh user@%%DESIGNATE%%qhost "$1"## alias r"$1" ssh user@%%DESIGNATE%%rhost "$1"## alias s"$1" ssh user@%%DESIGNATE%%shost "$1"## alias t"$1" ssh user@%%DESIGNATE%%thost "$1"## alias u"$1" ssh user@%%DESIGNATE%%uhost "$1"## alias v"$1" ssh user@%%DESIGNATE%%vhost "$1"## alias w"$1" ssh user@%%DESIGNATE%%whost "$1"## alias x"$1" ssh user@%%DESIGNATE%%xhost "$1"## alias y"$1" ssh user@%%DESIGNATE%%yhost "$1"## alias z"$1" ssh user@%%DESIGNATE%%zhost "$1"##")}' # 197 19:24 \ls /bin/ | awk '{print("alias a"$1" ssh user@%%DESIGNATE%%ahost "$1"## alias b"$1" ssh user@%%DESIGNATE%%bhost "$1"## alias c"$1" ssh user@%%DESIGNATE%%chost "$1"## alias d"$1" ssh user@%%DESIGNATE%%dhost "$1"## alias e"$1" ssh user@%%DESIGNATE%%ehost "$1"## alias f"$1" ssh user@%%DESIGNATE%%fhost "$1"## alias g"$1" ssh user@%%DESIGNATE%%ghost "$1"## alias h"$1" ssh user@%%DESIGNATE%%hhost "$1"## alias i"$1" ssh user@%%DESIGNATE%%ihost "$1"## alias j"$1" ssh user@%%DESIGNATE%%jhost "$1"## alias k"$1" ssh user@%%DESIGNATE%%khost "$1"## alias l"$1" ssh user@%%DESIGNATE%%lhost "$1"## alias m"$1" ssh user@%%DESIGNATE%%mhost "$1"## alias n"$1" ssh user@%%DESIGNATE%%nhost "$1"## alias o"$1" ssh user@%%DESIGNATE%%ohost "$1"## alias p"$1" ssh user@%%DESIGNATE%%phost "$1"## alias q"$1" ssh user@%%DESIGNATE%%qhost "$1"## alias r"$1" ssh user@%%DESIGNATE%%rhost "$1"## alias s"$1" ssh user@%%DESIGNATE%%shost "$1"## alias t"$1" ssh user@%%DESIGNATE%%thost "$1"## alias u"$1" ssh user@%%DESIGNATE%%uhost "$1"## alias v"$1" ssh user@%%DESIGNATE%%vhost "$1"## alias w"$1" ssh user@%%DESIGNATE%%whost "$1"## alias x"$1" ssh user@%%DESIGNATE%%xhost "$1"## alias y"$1" ssh user@%%DESIGNATE%%yhost "$1"## alias z"$1" ssh user@%%DESIGNATE%%zhost "$1"##")}' | sed s/##/';#'/g | tr # '\n' # 198 19:25 \ls /bin/ | awk '{print("alias a"$1" ssh user@%%DESIGNATE%%ahost "$1"## alias b"$1" ssh user@%%DESIGNATE%%bhost "$1"## alias c"$1" ssh user@%%DESIGNATE%%chost "$1"## alias d"$1" ssh user@%%DESIGNATE%%dhost "$1"## alias e"$1" ssh user@%%DESIGNATE%%ehost "$1"## alias f"$1" ssh user@%%DESIGNATE%%fhost "$1"## alias g"$1" ssh user@%%DESIGNATE%%ghost "$1"## alias h"$1" ssh user@%%DESIGNATE%%hhost "$1"## alias i"$1" ssh user@%%DESIGNATE%%ihost "$1"## alias j"$1" ssh user@%%DESIGNATE%%jhost "$1"## alias k"$1" ssh user@%%DESIGNATE%%khost "$1"## alias l"$1" ssh user@%%DESIGNATE%%lhost "$1"## alias m"$1" ssh user@%%DESIGNATE%%mhost "$1"## alias n"$1" ssh user@%%DESIGNATE%%nhost "$1"## alias o"$1" ssh user@%%DESIGNATE%%ohost "$1"## alias p"$1" ssh user@%%DESIGNATE%%phost "$1"## alias q"$1" ssh user@%%DESIGNATE%%qhost "$1"## alias r"$1" ssh user@%%DESIGNATE%%rhost "$1"## alias s"$1" ssh user@%%DESIGNATE%%shost "$1"## alias t"$1" ssh user@%%DESIGNATE%%thost "$1"## alias u"$1" ssh user@%%DESIGNATE%%uhost "$1"## alias v"$1" ssh user@%%DESIGNATE%%vhost "$1"## alias w"$1" ssh user@%%DESIGNATE%%whost "$1"## alias x"$1" ssh user@%%DESIGNATE%%xhost "$1"## alias y"$1" ssh user@%%DESIGNATE%%yhost "$1"## alias z"$1" ssh user@%%DESIGNATE%%zhost "$1"##")}' | sed s/##/';#'/g | tr # '\n' | sed s/%%DESIGNATE%%/'\$'/ # 199 19:25 \ls /bin/ | awk '{print("alias a"$1" ssh user@%%DESIGNATE%%ahost "$1"## alias b"$1" ssh user@%%DESIGNATE%%bhost "$1"## alias c"$1" ssh user@%%DESIGNATE%%chost "$1"## alias d"$1" ssh user@%%DESIGNATE%%dhost "$1"## alias e"$1" ssh user@%%DESIGNATE%%ehost "$1"## alias f"$1" ssh user@%%DESIGNATE%%fhost "$1"## alias g"$1" ssh user@%%DESIGNATE%%ghost "$1"## alias h"$1" ssh user@%%DESIGNATE%%hhost "$1"## alias i"$1" ssh user@%%DESIGNATE%%ihost "$1"## alias j"$1" ssh user@%%DESIGNATE%%jhost "$1"## alias k"$1" ssh user@%%DESIGNATE%%khost "$1"## alias l"$1" ssh user@%%DESIGNATE%%lhost "$1"## alias m"$1" ssh user@%%DESIGNATE%%mhost "$1"## alias n"$1" ssh user@%%DESIGNATE%%nhost "$1"## alias o"$1" ssh user@%%DESIGNATE%%ohost "$1"## alias p"$1" ssh user@%%DESIGNATE%%phost "$1"## alias q"$1" ssh user@%%DESIGNATE%%qhost "$1"## alias r"$1" ssh user@%%DESIGNATE%%rhost "$1"## alias s"$1" ssh user@%%DESIGNATE%%shost "$1"## alias t"$1" ssh user@%%DESIGNATE%%thost "$1"## alias u"$1" ssh user@%%DESIGNATE%%uhost "$1"## alias v"$1" ssh user@%%DESIGNATE%%vhost "$1"## alias w"$1" ssh user@%%DESIGNATE%%whost "$1"## alias x"$1" ssh user@%%DESIGNATE%%xhost "$1"## alias y"$1" ssh user@%%DESIGNATE%%yhost "$1"## alias z"$1" ssh user@%%DESIGNATE%%zhost "$1"##")}' | sed s/##/';#'/g | tr # '\n' | sed s/%%DESIGNATE%%/'\$['/ # 200 19:26 cat hosts # 201 19:26 cat /etc/hosts # 202 19:26 cat /etc/hosts | grep -v # # 203 19:26 cat /etc/hosts | grep -v # | grep .. # 204 19:26 cat /etc/hosts | grep -v # | grep .. | rev | cut -f1 -d' ' | rev # 205 19:27 cat /etc/hosts | grep -v # | grep .. | rev | cut -f1 -d' ' | rev | wc # 206 19:27 cat /etc/hosts | grep -v # | grep .. | rev | cut -f1 -d' ' | rev | tail -16 # 207 19:27 history # 208 19:27 jot -c 16 97 # 209 19:28 cat /etc/hosts | grep -v # | grep .. | rev | cut -f1 -d' ' | rev | tail -16 # 210 19:28 cat /etc/hosts | grep -v # | grep .. | rev | cut -f1 -d' ' | rev | tail -16 | awk '{print("setenv ahost "$1)}' # 211 19:29 ( jot -c 16 97 ; cat /etc/hosts | grep -v # | grep .. | rev | cut -f1 -d' ' | rev | tail -16 ) # 212 19:30 ( jot -c 16 97 ; cat /etc/hosts | grep -v # | grep .. | rev | cut -f1 -d' ' | rev | tail -16 ) | rs 16 # 213 19:30 ( jot -c 16 97 ; cat /etc/hosts | grep -v # | grep .. | rev | cut -f1 -d' ' | rev | tail -16 ) | rs 1 # 214 19:30 ( jot -c 16 97 ; cat /etc/hosts | grep -v # | grep .. | rev | cut -f1 -d' ' | rev | tail -16 ) | rs 1 | rs 2 # 215 19:30 ( jot -c 16 97 ; cat /etc/hosts | grep -v # | grep .. | rev | cut -f1 -d' ' | rev | tail -16 ) | rs 1 | rs 2 | rs 16 # 216 19:30 ( jot -c 16 97 ; cat /etc/hosts | grep -v # | grep .. | rev | cut -f1 -d' ' | rev | tail -16 ) | rs 1 | rs 2 | rs -t # 217 19:31 ( jot -c 16 97 ; cat /etc/hosts | grep -v # | grep .. | rev | cut -f1 -d' ' | rev | tail -16 ) | rs 1 | rs 2 | rs -t 16 # 218 19:31 ( jot -c 16 97 ; cat /etc/hosts | grep -v # | grep .. | rev | cut -f1 -d' ' | rev | tail -16 ) | rs 1 | rs 2 | rs -t 16 | tr -s ' ' # 219 19:31 ( jot -c 16 97 ; cat /etc/hosts | grep -v # | grep .. | rev | cut -f1 -d' ' | rev | tail -16 ) | rs 1 | rs 2 | rs -t 16 | tr -s ' ' | awk '{print("setenv "$1"host "$2)}' # 220 19:32 echo $PATH | tr : '\n' # 221 19:32 echo $PATH | tr : '\n' | sed s/^/'\ls '/ # 222 19:32 echo $PATH | tr : '\n' | sed s/^/'\ls '/ | csh # 223 19:33 history | grep bin # 224 19:33 echo $PATH | tr : '\n' | sed s/^/'\ls '/ | csh | awk '{print("alias a"$1" ssh user@%%DESIGNATE%%ahost "$1"## alias b"$1" ssh user@%%DESIGNATE%%bhost "$1"## alias c"$1" ssh user@%%DESIGNATE%%chost "$1"## alias d"$1" ssh user@%%DESIGNATE%%dhost "$1"## alias e"$1" ssh user@%%DESIGNATE%%ehost "$1"## alias f"$1" ssh user@%%DESIGNATE%%fhost "$1"## alias g"$1" ssh user@%%DESIGNATE%%ghost "$1"## alias h"$1" ssh user@%%DESIGNATE%%hhost "$1"## alias i"$1" ssh user@%%DESIGNATE%%ihost "$1"## alias j"$1" ssh user@%%DESIGNATE%%jhost "$1"## alias k"$1" ssh user@%%DESIGNATE%%khost "$1"## alias l"$1" ssh user@%%DESIGNATE%%lhost "$1"## alias m"$1" ssh user@%%DESIGNATE%%mhost "$1"## alias n"$1" ssh user@%%DESIGNATE%%nhost "$1"## alias o"$1" ssh user@%%DESIGNATE%%ohost "$1"## alias p"$1" ssh user@%%DESIGNATE%%phost "$1"## alias q"$1" ssh user@%%DESIGNATE%%qhost "$1"## alias r"$1" ssh user@%%DESIGNATE%%rhost "$1"## alias s"$1" ssh user@%%DESIGNATE%%shost "$1"## alias t"$1" ssh user@%%DESIGNATE%%thost "$1"## alias u"$1" ssh user@%%DESIGNATE%%uhost "$1"## alias v"$1" ssh user@%%DESIGNATE%%vhost "$1"## alias w"$1" ssh user@%%DESIGNATE%%whost "$1"## alias x"$1" ssh user@%%DESIGNATE%%xhost "$1"## alias y"$1" ssh user@%%DESIGNATE%%yhost "$1"## alias z"$1" ssh user@%%DESIGNATE%%zhost "$1"##")}' | sed s/##/';#'/g | tr # '\n' | sed s/%%DESIGNATE%%/'\$['/ # 225 19:34 jot -c 26 97 | awk '{print("alias "$1"%%CMD%% ssh user@%%DESIGNATE%%"$1"[host] %%CMD%%##")}' | sed s/%%CMD%%/'\"\$1\"'/g | wrap # 226 19:36 echo $PATH | tr : '\n' | sed s/^/'\ls '/ | csh | awk '{print("alias a"$1" ssh user@%%DESIGNATE%%a[host] "$1"## alias b"$1" ssh user@%%DESIGNATE%%b[host] "$1"## alias c"$1" ssh user@%%DESIGNATE%%c[host] "$1"## alias d"$1" ssh user@%%DESIGNATE%%d[host] "$1"## alias e"$1" ssh user@%%DESIGNATE%%e[host] "$1"## alias f"$1" ssh user@%%DESIGNATE%%f[host] "$1"## alias g"$1" ssh user@%%DESIGNATE%%g[host] "$1"## alias h"$1" ssh user@%%DESIGNATE%%h[host] "$1"## alias i"$1" ssh user@%%DESIGNATE%%i[host] "$1"## alias j"$1" ssh user@%%DESIGNATE%%j[host] "$1"## alias k"$1" ssh user@%%DESIGNATE%%k[host] "$1"## alias l"$1" ssh user@%%DESIGNATE%%l[host] "$1"## alias m"$1" ssh user@%%DESIGNATE%%m[host] "$1"## alias n"$1" ssh user@%%DESIGNATE%%n[host] "$1"## alias o"$1" ssh user@%%DESIGNATE%%o[host] "$1"## alias p"$1" ssh user@%%DESIGNATE%%p[host] "$1"## alias q"$1" ssh user@%%DESIGNATE%%q[host] "$1"## alias r"$1" ssh user@%%DESIGNATE%%r[host] "$1"## alias s"$1" ssh user@%%DESIGNATE%%s[host] "$1"## alias t"$1" ssh user@%%DESIGNATE%%t[host] "$1"## alias u"$1" ssh user@%%DESIGNATE%%u[host] "$1"## alias v"$1" ssh user@%%DESIGNATE%%v[host] "$1"## alias w"$1" ssh user@%%DESIGNATE%%w[host] "$1"## alias x"$1" ssh user@%%DESIGNATE%%x[host] "$1"## alias y"$1" ssh user@%%DESIGNATE%%y[host] "$1"## alias z"$1" ssh user@%%DESIGNATE%%z[host] "$1"##")}' | sed s/##/';#'/g | tr # '\n' | sed s/%%DESIGNATE%%/'\$['/ # 227 19:36 echo $PATH | tr : '\n' | sed s/^/'\ls '/ | csh | awk '{print("alias a"$1" ssh user@%%DESIGNATE%%a[host] "$1"## alias b"$1" ssh user@%%DESIGNATE%%b[host] "$1"## alias c"$1" ssh user@%%DESIGNATE%%c[host] "$1"## alias d"$1" ssh user@%%DESIGNATE%%d[host] "$1"## alias e"$1" ssh user@%%DESIGNATE%%e[host] "$1"## alias f"$1" ssh user@%%DESIGNATE%%f[host] "$1"## alias g"$1" ssh user@%%DESIGNATE%%g[host] "$1"## alias h"$1" ssh user@%%DESIGNATE%%h[host] "$1"## alias i"$1" ssh user@%%DESIGNATE%%i[host] "$1"## alias j"$1" ssh user@%%DESIGNATE%%j[host] "$1"## alias k"$1" ssh user@%%DESIGNATE%%k[host] "$1"## alias l"$1" ssh user@%%DESIGNATE%%l[host] "$1"## alias m"$1" ssh user@%%DESIGNATE%%m[host] "$1"## alias n"$1" ssh user@%%DESIGNATE%%n[host] "$1"## alias o"$1" ssh user@%%DESIGNATE%%o[host] "$1"## alias p"$1" ssh user@%%DESIGNATE%%p[host] "$1"## alias q"$1" ssh user@%%DESIGNATE%%q[host] "$1"## alias r"$1" ssh user@%%DESIGNATE%%r[host] "$1"## alias s"$1" ssh user@%%DESIGNATE%%s[host] "$1"## alias t"$1" ssh user@%%DESIGNATE%%t[host] "$1"## alias u"$1" ssh user@%%DESIGNATE%%u[host] "$1"## alias v"$1" ssh user@%%DESIGNATE%%v[host] "$1"## alias w"$1" ssh user@%%DESIGNATE%%w[host] "$1"## alias x"$1" ssh user@%%DESIGNATE%%x[host] "$1"## alias y"$1" ssh user@%%DESIGNATE%%y[host] "$1"## alias z"$1" ssh user@%%DESIGNATE%%z[host] "$1"##")}' | sed s/##/';#'/g | tr # '\n' | sed s/%%DESIGNATE%%/'\$'/ # 228 19:36 jot -c 26 97 | awk '{print("alias "$1"%%CMD%% ssh user@%%DESIGNATE%%["$1"host] %%CMD%%##")}' | sed s/%%CMD%%/'\"\$1\"'/g | wrap