first commit

This commit is contained in:
Roy
2025-06-23 21:19:51 +02:00
commit a4f9ea11f3
69 changed files with 4857 additions and 0 deletions

16
Man_tool/uptime_loop.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
FILE=$1
if [ $# -lt 1 ]
then
echo "Syntax: ./$(basename $0) <file name>"
exit
fi
for host in $(cat ${FILE})
do
ssh -o ConnectTimeout=3 -n root@$host "hostname && uptime "
done