code:Comment puis-je faire un ping sur plusieurs sous-sites ~/[0, 3] .html dans Bash?
for i in {0..3}; do ping http://www.pythonchallenge.com/pc/def/$i.html; done
Un hôte doit se trouver à www.pythonchallenge.com/pc/def/0.html.
Je reçois cette erreur pour tous les pings:
ping: ne peut pas résoudre www.pythonchallenge.com/pc/def/0.html: Unknown host