Cześć. zaloguj się lub zarejestruj
Anonim / 7 years ago | Download | Plaintext | Odpowiedz |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#!/bin/bash func1(){ echo "1: winter@icegate 2: user@host" func2 } func2(){ read x case $x in 1) ssh -X -p 90 winter@192.168.0.1 ;; 2) ssh user@host *) echo -e "\nчто?\n" ; func1 ; esac } func1