13 lines
159 B
Bash
Executable File
13 lines
159 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ -z $1 ]
|
|
then
|
|
doas what /bsd | tail -1
|
|
else
|
|
for h in $@
|
|
do
|
|
echo -n "$h: "
|
|
ssh $h "doas what /bsd | tail -1"
|
|
done
|
|
fi
|