Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

I am using a Linux PC (Ubuntu). Recently I went to install Dropbox on my PC and it was successful. The only matter right now I am thinking is simply how my browser helped Dropbox to forward me directly to a Linux based dropbox installation? My browser directly took me to the Linux installation page, How?

Thank you.

share|improve this question

closed as off topic by Chris Down, jasonwryan, vonbrand, slm, Dennis Kaarsemaker May 9 '13 at 15:33

Questions on Unix & Linux Stack Exchange are expected to relate to Unix or Linux within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 5 down vote accepted

I don't know how Dropbox does it, but usually the browser sends a User-Agent string which tells the web server which brower you use, its version and the operating system. Here's an example:

User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.160 Safari/537.22

You can check what your browser sends e.g. with netcat. Open up a terminal and open a TCP port:

nc -l -p 3456

Then point your browser to localhost:3456 and check the result in the terminal. You could edit the User-Agent string to a typical one from another operating system and visit the Dropbox page, if the download changes then you have confirmed that Dropbox uses the User-Agent string to determine the OS.

share|improve this answer

Your browser has a user agent string which displays information about your operating system, screen resolution, etc.

You might want to try: whatsmyuseragent.com or showip.net to display your user agent.

This is sometimes considered as a privacy issue, you might want to check out How trackable is my browser?.

share|improve this answer

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