Mailinglist Archive: opensuse (3637 mails)

< Previous Next >
Executable exists but bash says it doesn't
  • From: Paul Abrahams <abrahams@xxxxxxx>
  • Date: Tue, 15 May 2001 23:45:03 -0400
  • Message-id: <3B01F7BF.D1C1E6B2@xxxxxxx>
I'm trying to understand what's going on here:

pwa@suillus:/usr/local/TeX/bin/i386-linux > l tex
-rwxrwxr-x 1 tex wheel 224012 May 15 22:40 tex*

pwa@suillus:/usr/local/TeX/bin/i386-linux > which tex
pwa@suillus:/usr/local/TeX/bin/i386-linux > pwd
pwa@suillus:/usr/local/TeX/bin/i386-linux > tex
bash: /usr/local/TeX/bin/i386-linux/tex: No such file or
pwa@suillus:/usr/local/TeX/bin/i386-linux >

The file "tex" apparently exists and is executable by
anyone, yet bash says that there's no such file or
directory. I've verified that "tex" is on the path, as
shown above. Can anyone explain what I'm missing?


< Previous Next >