I am trying to download a file from my git repository onto a VM, and I do so running the following command:
curl -O "https://git.com/projects/RENG/repos/test.sh" -k
After I run this command I see that the file that gets downloaded to my machine is actually the "html" source code, and not the script itself. How do I change this so that the script is downloaded. Also, I don't want to use git commands because I want to download this as root, as part of another script.
Thanks for your help!