View Full Version : [ubuntu] Real quick dumb question- take one minute to answer

June 6th, 2009, 04:49 AM
I don't know why I can't figure this one out. I have a game that I play (Urban Terror) and I usually use gnome-do to run it, but I came across a situation where I wanted to run it from the terminal.

How do execute ioUrbanTerror.i386 from the terminal?

June 6th, 2009, 05:03 AM
typically to run anything that is not in your path you can either cd to the directory,


cd ~/Destop/mygame/

and then execute


however, Im not sure about urban terror with the i386 extension

June 6th, 2009, 05:07 AM
You got it! Thanks a ton.

June 6th, 2009, 05:45 AM

I thought it was a trick question :-)

June 7th, 2009, 08:59 PM
I wrote myself a little script:


Saved it as /usr/bin/urt
Did sudo chmod +x on it (make it executable). Can just type urt in at the terminal and it runs fine!

June 8th, 2009, 03:51 AM

You could copy that file containing the start script you created to the desktop and then it would be just a double slick to start it , like a windows app. You would not need to open the reminal at all.
You can also create your own icon for the file
Also, just to point out,
replace the dave with your own home directory name,.

June 8th, 2009, 04:39 AM
replace the dave with your own home directory name,.

or better yet, (this should work on majority of modern Linux systems)


"~/" is the "short-cut" to the home directory