I am trying to download a .zip file from GitHub using the command line in Ubuntu. I am using wget command for it on a remote Ubuntu system.
I run wget <link> where <link> is the address bar link of the file which I want to download. It ends with archive.zip?ref=master.
Now, when I am executing the command, it is downloading a file with text/html type and not the .zip file which I want.
Please tell me how to get the link to be given as the parameter of wget. Right now, I am just copying the link address of the button (using right click) and writing that as a wget parameter.