bash: syntax error near unexpected token `&'

thstclair's Avatar


07 Jan, 2013 04:39 PM

Just purchased a key to run 64bit but CAN'T! I get this error in both Ubuntu and Debian.

  1. 1 Posted by thstclair on 07 Jan, 2013 08:57 PM

    thstclair's Avatar

    For Clarity:
    tstc@tstc-To-be-filled-by-O-E-M:~/Downloads/dist/Geekbench-2.4.0-Linux$ ./geekbench_x86_64
    Geekbench 2.4.0 Tryout :

    Geekbench is in tryout mode.

    Benchmark results can only be viewed online when Geekbench is in tryout mode.
    Other features, like 64-bit benchmarks and hardware stress tests, are also
    unavailable in tryout mode.\n\nPurchase a license to remove the limitations of
    tryout mode.

    If you would like to purchase Geekbench you can do so online:

    If you have already purchased Geekbench, enter your email address and license
    key from your email receipt with the following command line:

    ./geekbench_x86_64 -r <email address> <license key>

    tstc@tstc-To-be-filled-by-O-E-M:~/Downloads/dist/Geekbench-2.4.0-Linux$ ./geekbench_x86_64 -r <[email blocked]> <XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX>
    bash: syntax error near unexpected token `&'

  2. Support Staff 2 Posted by John on 14 Jan, 2013 09:24 PM

    John's Avatar

    Tom -

    I'm sorry you're having problems running Geekbench on Ubuntu 12.10. I cannot reproduce the error message you see. Could you tell me the command-line you're using to run Geekbench? Are you able to run the 32-bit version of Geekbench?


  3. 3 Posted by thstclair on 14 Jan, 2013 09:53 PM

    thstclair's Avatar

    Figured it out after doing a ./geekbench_x86_64 --help and put in the data that way. The command that I was prompted with never accepted my email an/or license key by running ./geekbench_x86_64 . So thats solved, BUT I don't understand why now my 64-bit scores are lower than 32-bit in both Ubuntu 13.04 & Debian 7. ???

  4. Support Staff 4 Posted by John on 17 Jan, 2013 06:55 PM

    John's Avatar

    Tom -

    I'm glad you got everything working. Could you send me a link to your 32-bit and 64-bit scores? I'd like to take a look at them.


  5. 5 Posted by thstclair on 17 Jan, 2013 09:03 PM

    thstclair's Avatar
  6. 6 Posted by fortinuex on 23 Jan, 2013 09:13 AM

    fortinuex's Avatar

    How do you correctly put the key in? I am stuck at this... Maybe this is so simple it is just going over my shoulders but any help on how to put it in. It runs 32 bit and I am just stumped.

  7. 7 Posted by fortinuex on 23 Jan, 2013 09:39 AM

    fortinuex's Avatar

    Okay well I got the key working after actually thinking it through and I can verify that something is broken in 64 bit for me as well showing lower scores in 64 bit than 32 bit. My account will be posted results under linux the rest are windows so ignore. My 64 bit is reporting extremely low even when the results seem while testing runs scores look like they should be higher to me but maybe I am wrong:
    64 bit scoring:
    32 bit scoring:

    My username is fortinuex so feel free to email me or check the results just odd. Doesn't seem to be a distro problem though.

  8. Support Staff 8 Posted by John on 20 Feb, 2013 01:35 AM

    John's Avatar

    Regarding 64-bit performance on Linux, I posted this in another thread on the same issue:

    We've been able to reproduce the problem you reported. From what we can tell it's a problem with the compiler used to build Geekbench for Linux; the 64-bit code it generates is slower than the 32-bit code it generates. We're looking into ways to work around this issue.

    Let me know if you have any questions regarding this finding and I'd be happy to help out.


Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac