When I try to view the zip file with curl the terminal is corrupted. And after that all the character we typed cannot be recognized as they will be shown as unrecognizable Unicode. I curl the zip below:  curl http://udacity.github.io/ud595-shell/stuff.zipI am asking as I'm curious about this. How is this happening?
curl corrupting terminal
curl
When using curl like that, it will output the contents of the Zip-file to the terminal (curl writes to standard output by default). This may well corrupt the terminal, just as when you cat a compressed file or any other binary file.To save the file, use curl -O .... This will save the file with its original name (stuff.zip) in the current directory.To save it with another name, use either curl -o newname ... or curl ... >newname.