check-host: Also display the ~text for jweiss
[user/alex/software/my-snippets.git] / check-host
1 #!/bin/bash
2 # Alex Dehnert
3
4 for hostname in "$@"; do
5     echo
6     echo Now checking $hostname
7     echo Stella:
8     stella $hostname.mit.edu
9     echo Aliases
10     athrun ops qy ghal $hostname.mit.edu \*
11 done
12
13 echo
14 echo For your copy/pasting convenience
15 echo Please be careful that this makes sense with the output above
16 echo
17 echo At your convenience, please make $@.mit.edu an alias of scripts-vhosts.mit.edu.
18 echo
19 for hostname in "$@"; do
20     echo stella scripts-vhosts -a $hostname
21 done