Thread View: comp.sys.next.sysadmin
2 messages
2 total messages
Started by John Michael Zollinger
Wed, 30 Dec 1992 02:10
Exec. files not being fd
Author: John Michael Zollinger
Date: Wed, 30 Dec 1992 02:10
Date: Wed, 30 Dec 1992 02:10
13 lines
871 bytes
871 bytes
Help...For some reason my shell can't find executable files. If I compile a little C program and then rehash (I am doing that), it still says that it can't find the file, even though 'ls' shows that it is there. In addition, adding entries to my PATH setup in the shell startup script doesn't seem to have any effect, but if I put an executable file into the standard path, like '~/Unix/bin/' it finds it ok. As you can see, I am at a loss as to what is wrong so any help would be greatly appreciated. Thanks. John Zollinger john-z@cup.portal.com
Re: Exec. files not being fd
Author: Volker Herminghaus-Shirai
Date: Sat, 02 Jan 1993 19:36
Date: Sat, 02 Jan 1993 19:36
29 lines
1757 bytes
1757 bytes
In article <72576@cup.portal.com> John-Z@cup.portal.com (John Michael Zollinger) writes: > Help...For some reason my shell can't find executable files. If I > compile a little C program and then rehash (I am doing that), it still > says that it can't find the file, even though 'ls' shows that it is > there. In addition, adding entries to my PATH setup in the shell startup > script doesn't seem to have any effect, but if I put an executable file > into the standard path, like '~/Unix/bin/' it finds it ok. > > As you can see, I am at a loss as to what is wrong so any help would be > greatly appreciated. Thanks. First find out definitely what shell you are using. Then, make sure you use the right startup script, i.e. .profile for sh, .cshrc for csh, etc. Do a `which rehash` to find out if some buzzhead wrote a no-op, named it rehash, and put it into the path. Output should be: no rehash in <your_path> I can't think of another reason right now except if your filesystem or shell is seriously broken. If the above doesn't help try using sh and csh alternatively and check if it happens on both. Also try invoking the executable directly, i.e. ./myprog, or ./bin/myprog. -- Volker Herminghaus-Shirai (vhs@qb.rhein-main.de) Looks good on the outside, but - intel inside
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads