Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Following the advise of an answer in Ask Ubuntu, I downloaded and ran a script with a URL starting by

Is it risky to use such file? could it be a virus or something else?

If yes, what should I do?

Some details:
I followed this answer, and did

    wget -O
    chmod +x 
    ./ --extract driver
share|improve this question
Is it risky to download a script with a "http://" link? Well, it's the Internet, so it is possibly harmful. On the other hand, not everyone has malicious intentions. – Lekensteyn May 6 '12 at 21:14
right, but I usually check the address, at least with WOT . That time I forget, so I worry – Boris May 6 '12 at 21:16
curl -I shows Location: Although the use of a URL shortener looks suspicious, it seems to be your expected link? – Lekensteyn May 6 '12 at 21:19
good news, I was expecting to run a script to install the ATI driver for my graphic card - so it sounds good. I install curl for next time ... – Boris May 6 '12 at 21:24
I guess it was about shortening the command, which is too long indeed. Nothing insecure nor risky and of course, not suspicious in that link/command. You can also check that link on any browser and see where does it send you to. WOT is a great advice but even WOT can't be noticed of all threats. – Geppettvs D'Constanzo May 6 '12 at 21:24 is a url shortener service. You aren't downloading a file from that link, but it is redirecting you to somewhere else. It would be useful if you let us know where is the link sending you to, in order to know what happened when you clicked that link.

There are risks involved in downloading files from the net but the majority of the downloaded files get into your computer without execution properties allowed, so you aren't in a risk until you run it.

If you already run it, you should add to your question what did you do, this way people will be able to give you a warning or a solution.

Good luck!

share|improve this answer
I added the script link in my question – Boris May 6 '12 at 21:17

Extremely risky.

First you need to find what the original link of the shortened link is.

To do that add a + to the end of the link like this (do not follow the link straight, because there is no way to know where it leads from just the address):

This shows us the stats of who has clicked on it, and where they are located (it collects extra information, not just "link shortening") and shows that the real link is:

and the command you should use on that step is:

wget -O

This also shows that a lot of people are "copy and pasting" same outdated answers from certain sites, and some are not citing where they got the information from.

share|improve this answer is a URL shortener, that is it is creating short URLs that redirect you to other, usually longer, URLs. As it can be used to create a redirect to any URL out there a goog.le link it may point to malicious or otherwise unwanted software.

In general you should never run any code if you are not sure that you can trust the source you got in from.

Maybe you could show us the script you run so we could tell you it it did any harm.

share|improve this answer
I added the script link in my question – Boris May 6 '12 at 21:17
up vote 2 down vote accepted

I just create this answer to mark that I get the answer to my question in your answers and comments.

To sum up:

  • yes a can be risky, especially if then you run the downloaded script.
  • to know what is behind such link, 2 solutions :

    • curl -I
      in my case:

      curl -I
    • or do not download with wget but with Firefox and open your eyes enter image description here enter image description here

  • then you can evaluate the risk knowing the location of the file to be downloaded.

Thank you all for your quick answers and comments.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.