This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#connect to GLUA Ubuntu Mirrors via ftp and list all available releases | |
#run in passive mode (-p)| no-prompt(-i) | no-login(-n) | |
ftp -pin glua.ua.pt <<EOF | |
user anonymous | |
cd pub/ubuntu-releases | |
ls -l output | |
quit |