LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-22-2007, 12:45 AM   #1
badbunny
Member
 
Registered: Aug 2005
Location: Finland
Distribution: Kubuntu Gutsy
Posts: 95

Rep: Reputation: 15
Shell: command not found / Runs fine with "Run command"


Hello,
I have some weird problems running some applications. First, I have Small Arms Ballistics, which is started with the command "sab". I can type this into the Run Command box in the KDE menu and it starts just fine. Now, if I try to type "sab" into the shell (konsole), I get "command not found".

The same goes with adept. I can launch it from the KDE menu, but "sudo adept" gives "command not found."

I assume this has something to do with PATH, but have no idea how to fix it. I don't even know where Sab and Adept are on the file system.
 
Old 01-22-2007, 01:21 AM   #2
penguiniator
Member
 
Registered: Feb 2004
Location: Olympia, WA
Distribution: SolydK
Posts: 442
Blog Entries: 3

Rep: Reputation: 60
One way to find them is to open the KDE menu editor. You can right-click menu items and select Edit item from the popup menu. The dialog will show you how and where to start these programs if they have menu entries.

If you have the locate utility installed, you may be able to find them that way (locate sab).

You may also want to examine the value of your PATH variable (echo $PATH). If you find that these programs are in directories with lots of other programs, i.e. /usr/bin, you might want to add it to your path.

You can also use the find utility. (find / -name 'sab' -name 'adept')
 
  


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
Shell Script: Find "Word" Run "Command" granatica Linux - Software 5 07-25-2007 07:42 AM
"Bad Interpreter -- command not found" when I run ./configure on Ubuntu -- Hoary Hedg GeoRanger Linux - Newbie 5 03-27-2006 01:52 AM
Problems with shell, "command not found" turalo Fedora 10 12-17-2005 08:04 AM
"bash: run: command not found" ? neuropulse Linux - Newbie 10 04-23-2005 07:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:47 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
Open Source Consulting | Domain Registration