Skip to content

Commit 5641ece

Browse files
committed
与服务器同步
1 parent 8870c1e commit 5641ece

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

node.sh

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
for i in 0 1 2 3
3+
do
4+
echo "ln$i:"
5+
ssh ln$i-gn0 "uptime"
6+
done
7+
8+
read -p "chose one node: " node
9+
ssh ln$node-gn0

0 commit comments

Comments
 (0)