LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-17-2008, 07:36 PM   #1
elsheepo
Member
 
Registered: Feb 2008
Location: Los Angeles
Distribution: Slackware-current
Posts: 86

Rep: Reputation: 19
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?
 
Old 03-17-2008, 07:47 PM   #2
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 44
do this as root or sudo

find / -name ut

or


which ut
 
Old 03-17-2008, 07:49 PM   #3
elsheepo
Member
 
Registered: Feb 2008
Location: Los Angeles
Distribution: Slackware-current
Posts: 86

Original Poster
Rep: Reputation: 19
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:~$


???????????
 
Old 03-17-2008, 08:03 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913
Yes?

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


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


Cheers,
Tink

Last edited by Tinkster; 03-17-2008 at 08:04 PM.
 
Old 03-17-2008, 08:30 PM   #5
elsheepo
Member
 
Registered: Feb 2008
Location: Los Angeles
Distribution: Slackware-current
Posts: 86

Original Poster
Rep: Reputation: 19
sheep@box:~$ /home/sheep/ut/ut
/home/sheep/ut/ut: 29: Syntax error: Bad substitution
sheep@box:~$


syntax error??? bad substitution?
 
Old 03-17-2008, 08:46 PM   #6
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,138

Rep: Reputation: 168Reputation: 168
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
command not found murshed Linux - Newbie 8 11-22-2007 05:51 AM
Shell: command not found / Runs fine with "Run command" badbunny Linux - Newbie 1 01-22-2007 02:21 AM
bash: rpm: command not found && sudo: alien: command not found Java_Code Ubuntu 7 07-28-2006 12:57 AM
command not found ekdya Debian 2 03-13-2006 02:06 PM
bash: <command name> command not found smash Programming 5 03-13-2006 09:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration