Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?
User Journal

Journal stoolpigeon's Journal: Linux path question - Never Mind 4

I swear I looked at this forever and I just finally figured out it was simply a matter of a typo when I added the directory to my path in .bash_profile. I put in linux_86 and it should be linux_x86. Stupid. I'll leave this here as a monument to my need to pay attention to details. Original JE below

I installed the Android SDK on one of my fedora machines. There are binaries I want to use that are in the location

So I added that to my path. When I check with echo $PATH I see it. When I try running one of the binaries there - android - I get "bash: android: comand not found..."

When I try "which android" it tells me,

$ which android /usr/bin/which: no android in (/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/sbin:/usr/sbin:/sbin:/home/jr.peck/bin:/home/jr.peck/bin:/opt/android-sdk-linux_86/tools:/opt/android-sdk-linux_86/platform-tools:/opt/cordova-2.2.0/android/bin)

but if I type in from the prompt

Then it runs just fine. So what have I left out?

This discussion has been archived. No new comments can be posted.

Linux path question - Never Mind

Comments Filter:
  • by Qzukk ( 229616 )



    command behaves like tcsh or csh but the error message says bash. Which shell is it?

    • I use bash.

      • by Qzukk ( 229616 )

        It must just be the which binary used in android then. Mine returns nothing if the program is not found. tcsh has a builtin which command, and *csh uses "(/foo /bar /baz)" designation for paths, which is what led to my confusion.

        • It's whichever which is default with Fedora.

          $ which --version
          GNU which v2.20, Copyright (C) 1999 - 2008 Carlo Wood.
          GNU which comes with ABSOLUTELY NO WARRANTY;
          This program is free software; your freedom to use, change
          and distribute this program is protected by the GPL.

Happiness is twin floppies.