update scripts

This commit is contained in:
2024-11-15 22:00:09 +01:00
parent eb97ca67da
commit 3e1acd6282
33 changed files with 768 additions and 19 deletions

16
Blatt02/scripts/203.sh Normal file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
bash /home/rnp/2/202.sh
echo "203" > /home/rnp/203.txt
for i in {1..3}; do
echo "pc$i ipv6"
output=$(ssh pc$i "ip -6 addr show")
echo "ip -6 addr show" >> /home/rnp/2/203.txt
echo "ip -6 addr show"
echo "$output" >> /home/rnp/2/203.txt
echo "$output"
done