-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathversions.sh
51 lines (46 loc) · 1.26 KB
/
versions.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/bin/sh
echo "=================================================="
echo "Rsync version info"
echo "=================================================="
if ! [ -x "$(command -v rsync)" ]; then
echo 'Error: rsync is not installed.' >&2
else
rsync --version
fi
echo
echo "=================================================="
echo "Rclone version info"
echo "=================================================="
if ! [ -x "$(command -v rclone)" ]; then
echo 'Error: rclone is not installed.' >&2
else
rclone --version
fi
echo
echo "=================================================="
echo "Restic version info"
echo "=================================================="
if ! [ -x "$(command -v restic)" ]; then
echo 'Error: restic is not installed.' >&2
else
restic version
fi
echo
echo "=================================================="
echo "iperf3 version info"
echo "=================================================="
if ! [ -x "$(command -v iperf3)" ]; then
echo 'Error: iperf3 is not installed.' >&2
else
iperf3 --version
fi
echo
echo "=================================================="
echo "ssh version info"
echo "=================================================="
if ! [ -x "$(command -v ssh)" ]; then
echo 'Error: ssh is not installed.' >&2
else
ssh -V
fi
echo