Find the answer to your Linux question:
Results 1 to 3 of 3
I have reinstalled Suse 10.1 as dual-boot with Windows XP. I am now unable to get a program to run from the Linux command line. I am familiar with the ...
  1. #1
    Just Joined!
    Join Date
    Jun 2007
    Posts
    6

    command not found

    I have reinstalled Suse 10.1 as dual-boot with Windows XP. I am now unable to get a program to run from the Linux command line. I am familiar with the program and have had it running previously when the machine was Linux-only.

    Everything else, e.g.Firefox and Office, work fine in Suse.

    Here is part of my sub-directory

    -rw-r--r-- 1 terry users 464 2010-07-03 02:16 darwin_lib_paths.lis
    -rw-r--r-- 1 terry users 1347 2010-07-03 02:16 DarwinLibs.lis
    -rw-r--r-- 1 terry users 2298 2010-07-03 02:16 DeployDarwin.csh
    -rwxr-xr-x 1 terry users 2649 2010-07-03 02:16 isis3Startup.csh
    -rwxr-xr-x 1 terry users 1046 2010-07-03 02:16 isis3Startup.sh
    -rw-r--r-- 1 terry users 417 2010-07-03 02:16 isis_bins_paths.lis
    -rw-r--r-- 1 terry users 835 2010-07-03 02:16 PullLastMod.xsl
    -rw-r--r-- 1 terry users 576 2010-07-03 02:16 qt_paths.lis
    -rw-r--r-- 1 terry users 685 2010-07-03 02:16 qt_plugins_paths.lis
    -rwxr-xr-x 1 terry users 23254 2010-07-03 02:16 SetRunTimePath
    -rwxr-xr-x 1 terry users 1732 2010-11-01 19:23 unitTester

    When I enter isis3Startup.sh on the command line I get an error message:

    bash: isis3Startup.sh: command not found

    The problem occurs with all commands - not just this one.
    isis3Startup.sh is in green on the screen so I assume I should be able to run it - I have never had any problem when it was installed previously.

    Would appreciate any help. I am not sure if any other information is required - please let me know.

    Terry.

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    If that directory isn't on the path then you need to add it. Otherwise you need to prefix the command with ./

  3. #3
    Linux Newbie
    Join Date
    Apr 2009
    Posts
    160
    Quote Originally Posted by coopstah13 View Post
    If that directory isn't on the path then you need to add it. Otherwise you need to prefix the command with ./
    You could also do

    [code]
    sh /path/to/command
    [/sh]

    at a command prompt do

    Code:
    $ echo $PATH
    is the directory that command is in in that string?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...