LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Command not found??? (https://www.linuxquestions.org/questions/linux-software-2/command-not-found-628794/)

elsheepo 03-17-2008 06:36 PM

Command not found???
 
I've recently switched from Slackware 12.0 to Kubuntu. Im very pleased with the switch and cant realy complain. I was able to install the Linux native version of UnrealTournament.iso, i mounted it, and installed. It even told me the install was completed sucsesfuly. Told me that typeing "ut" in the terminal would open up the game. but when i type in "ut" it tells me the command is not found? can anyone offer any advice?

ncsuapex 03-17-2008 06:47 PM

do this as root or sudo

find / -name ut

or


which ut

elsheepo 03-17-2008 06:49 PM

sheep@box:~$ sudo find / -name ut
[sudo] password for sheep:
/home/sheep/ut
/home/sheep/ut/ut
/mnt/ut
/mnt/ut/bin/x86/ut
sheep@box:~$


???????????

Tinkster 03-17-2008 07:03 PM

Yes?

It found exactly what you asked for. Any file/directory named "ut"


To run it:
/home/sheep/ut/ut


Cheers,
Tink

elsheepo 03-17-2008 07:30 PM

sheep@box:~$ /home/sheep/ut/ut
/home/sheep/ut/ut: 29: Syntax error: Bad substitution
sheep@box:~$


syntax error??? bad substitution?

gilead 03-17-2008 07:46 PM

It's saying there's a syntax error on line 29 of /home/sheep/ut/ut. Can you post the content of the script please?

Also, you can modify the first line of the script to run it in debug mode. For example, if it's bash:
Code:

#!/bin/bash -x
or
#!/bin/sh -x



All times are GMT -5. The time now is 01:05 PM.