Skip to content

Instantly share code, notes, and snippets.

View Jpfonseca's full-sized avatar
🤔
What should I do next??

João Fonseca Jpfonseca

🤔
What should I do next??
View GitHub Profile
@Jpfonseca
Jpfonseca / glua_mirrors_ubuntu.sh
Created December 14, 2018 16:13 — forked from RodrigoRosmaninho/glua_mirrors_ubuntu.sh
Script para instalação automática dos mirrors do Grupo Linux da Universidade de Aveiro (GLUA) de ubuntu (bionic)
#!/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