How run programs with Terminal

Some programs can start by typing the name of the program in the Terminal, like

Wine

wine

or Miro

Miro

But I want to run some games with the terminal so I can see the errors(the games won’t run) and fix it. But when I type

Urban Terror

or

Nexuiz

terminal say me this: “command not found”.
How can I run those programms with the Terminal?

Sometimes the name of a program on the menus isn’t the same as the name of the program on disk. When using the command line in the terminal, it’s the name of the program on disk you should type.

Linux 32bits executable: ioUrbanTerror.i386
Linux 64bits executable: ioUrbanTerror.x86_64

And to add to to KJ44’s advice.

When you type

Urban Terror

it means that you want to run a program named Urban with a parameter Terror. It also very unlikely, though not forbidden or impossible, that a programname contains upercase characters.

Also just typing the name of a program (when you know the correct one) only executes it if it is found by the shell in a directory named in your PATH environment variable. (You can also call it adding the path to the program in front of the name). Now most programs you install will be in such directories and give no further problems here. But when a packager supposes that the program will allways be called from a desktop menu/icon that uses the full path in the call, he/she may put it in a more obscure place and not tell you where it is.

In any case, try to understand a bit more from using the shell (that is what you are doing when typing commands), because it will help you understanding what you are doing when typing. And it is a game in itself lol!

Thanks for de answers.

ON my PC the name of the program was ‘urbanterror’

Normally it’s always lower case. I notice you use Upper.
To find launch command, go to menu editor and to the program in question
eg: firefox
http://thumbnails5.imagebam.com/4335/cd744c43341977.gif](http://www.imagebam.com/image/cd744c43341977/)

What I did was rightclick>choose properties en look at command, on the icon of the application in the folder usr/share/applications What I did was rightclick, choose properties en look at command, on the icon of the application in the folder usr/share/applications

http://thumbnails.imagebam.com/4336/2b1b1a43355069.gif](http://www.imagebam.com/image/2b1b1a43355069)

Then the call from the terminal should be:

usr/share/applications/urbanterror
urbanterror

is enough, the whole path isn’t necessary.

Which is like I said.
Notice in your first post you used: Urban Terror

When it is in his PATH. He can check that himself given all the information above. You should leave something to do for the people, that makes a functioning learning curve lol!