I believe bash does not need one. My guess is that it does a "rehash" when you type a command it does not already know about. I just did a quick experiment by creating a new executable and bash found it.

On Jul 15, 2004, at 4:10 PM, Alexander K. Hansen wrote:

Unfortunately there's no rehash for bash,

On Jul 15, 2004, at 4:56 PM, Perry Smith wrote:

In old csh (or tcsh), there is a "rehash" built in that causes csh to go out and rehash the PATH. I'm not sure if that is still the way csh works.

Opening a new terminal, doing "rehash", or executing $SHELL will get around that particular problem.

On Jul 15, 2004, at 10:33 AM, Alexander K. Hansen wrote:

Your PATH and permissions look OK.

Try opening a new terminal window--sometimes you need to do that to make an application show up in the PATH.

On Jul 15, 2004, at 11:13 AM, Don Skoog wrote:

Thanks for looking into my problem,

printenv PATH gives me:

[Donald-Skoogs-Computer:~] donaldsk% printenv PATH
/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
[Donald-Skoogs-Computer:~] donaldsk%

and ls -l /sw gives me:

[Donald-Skoogs-Computer:~] donaldsk% ls -l /sw
total 0
drwxr-xr-x 3 donaldsk admin 102 12 Apr 21:20 FinkCommander.app
drwxr-xr-x 14 donaldsk staff 476 9 Jun 12:31 Lilypond f
drwxr-xr-x 745 root admin 25330 15 Jul 03:35 bin
drwxr-xr-x 30 root admin 1020 15 Jul 03:37 etc
drwxr-xr-x 17 root admin 578 10 Jul 11:37 fink
drwxr-xr-x 11 root unknown 374 4 Jun 12:53 fink.old
drwxr-xr-x 3 root admin 102 6 Jun 01:13 fink.tmp
drwxr-xr-x 52 root admin 1768 15 Jul 03:34 include
drwxr-xr-x 574 root admin 19516 15 Jul 03:35 lib
drwxr-xr-x 25 root admin 850 15 Jul 03:34 sbin
drwxr-xr-x 73 root admin 2482 15 Jul 03:35 share
drwxr-xr-x 57 root admin 1938 10 Jul 11:47 src
drwxr-xr-x 9 root admin 306 15 Jul 03:33 var
[Donald-Skoogs-Computer:~] donaldsk%


Don

On Jul 15, 2004, at 5:12 AM, Alexander K. Hansen wrote:

Hmm... not being able to cd into /sw/bin seems odd to me.

Run the following two commands:

printenv PATH

ls -l /sw

The first will show whether your environment is set up correctly, and the second will reveal the permissions on /sw/bin.

On Jul 15, 2004, at 4:50 AM, [EMAIL PROTECTED] wrote:

I downloaded gnucash (and gnome, apparently) using fink commander but when I type 'gnucash' into either the terminal or X11 window I get a 'command not found' response.

When I try to cd over to the sw/bin file in terminal I get a 'permission denied' response.

The files are in sw/bin so I know they're in there but how do I get X11 to recognize the gnucash file? Where did I go wrong?

Don Skoog



--
Alexander K. Hansen
Fink Documentarian
Day Job:  Levitated Dipole Experiment
http://www.psfc.mit.edu/LDX









------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners




------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to