home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / next / sysadmin / 7283 < prev    next >
Encoding:
Text File  |  1993-01-02  |  1.7 KB  |  41 lines

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!math.fu-berlin.de!unidui!Germany.EU.net!incom!orfeo!qb!vhs
  3. From: vhs@rhein-main.de (Volker Herminghaus-Shirai)
  4. Subject: Re: Exec. files not being fd
  5. Message-ID: <1993Jan2.193657.3017@qb.rhein-main.de>
  6. Sender: vhs@qb.rhein-main.de (Volker Herminghaus-Shirai)
  7. Reply-To: vhs@rhein-main.de
  8. References: <72576@cup.portal.com>
  9. Date: Sat, 2 Jan 93 19:36:57 GMT
  10. Lines: 29
  11.  
  12. In article <72576@cup.portal.com> John-Z@cup.portal.com (John Michael  
  13. Zollinger) writes:
  14. > Help...For some reason my shell can't find executable files.  If I
  15. > compile a little C program and then rehash (I am doing that), it still
  16. > says that it can't find the file, even though 'ls' shows that it is
  17. > there.  In addition, adding entries to my PATH setup in the shell startup  
  18. > script doesn't seem to have any effect, but if I put an executable file
  19. > into the standard path, like '~/Unix/bin/' it finds it ok.
  20. > As you can see, I am at a loss as to what is wrong so any help would be
  21. > greatly appreciated.  Thanks.       
  22.  
  23. First find out definitely what shell you are using. Then, make sure
  24. you use the right startup script, i.e. .profile for sh, .cshrc
  25. for csh, etc.
  26. Do a `which rehash` to find out if some buzzhead wrote a no-op,
  27. named it rehash, and put it into the path. Output should be:
  28.     no rehash in <your_path>
  29.  
  30. I can't think of another reason right now except if your filesystem
  31. or shell is seriously broken. If the above doesn't help try using sh
  32. and csh alternatively and check if it happens on both. Also try
  33. invoking the executable directly, i.e. ./myprog, or ./bin/myprog.
  34.  
  35. --
  36. Volker Herminghaus-Shirai (vhs@qb.rhein-main.de)
  37.  
  38. Looks good on the outside, but -
  39.     intel inside
  40.