> /bin/bash: fork: Resource temporarily unavailable > I investigated my .bashrc, and found that the offending line was > export CVS_RSH=`which ssh` [...] > Is there any way to avoid it with the Debian `which`? Enclosing the [...] > Any suggestions? Or should I just use the Red Hat `which` binary?
Why use which at all? I have never understood people's fascination with that old csh script. Being It had some wierd quirks and I never liked it. You are in bash. Use 'type -path' instead. If your fingers are trained to type which then alias which='type -path'. :-) But why do you need which at all? Try this instead. This should solve your problem. export CVS_RSH=ssh I would probably file a bug against which that it should use #!/bin/sh instead of #!/bin/bash. That will avoid reading the .bashrc file. As long as the user has not set ENV. Sigh. The POSIX requirement for that is a terrible thing. But it avoids egregious troubles. Bob
pgpNDaWTOyroc.pgp
Description: PGP signature