hume@linux-o1dm:~> gnomesu -u legum java -jar '/home/legum/frem/frem.jar'
Unknown option -jar

I want -u for gnomesu and -jar for java, but the openSUSE treat -u -jar only for gnomesu.

What is the correct way of putting this on the command-line?


Try quotes this way:

gnomesu -u legum "java -jar '/home/legum/frem/frem.jar'"

or (not sure gnomesu supports this):

gnomesu -u legum -- java -jar '/home/legum/frem/frem.jar'

Many commands interpret -- as end of options, start of arguments

  • 1
    Either should work. – bahamat Dec 16 '13 at 7:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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