Can't find self written script

I have a very strange problem here on a Mac with OS X 10.9.2 Some time ago I have written a script (called "whilerub") and placed it somewhere to execute from every directory in my system. So no matter where I am I can always run the script and it works Now I would like to change something but I can't find it. What I tried so far:

sudo which whilerub
sudo find / -name "*whilerub*"
sudo locate "whilerub"

and I checked every directory in my PATH Variable with for example /opt/local/bin/whi and then TAB to complete

It is also not on a externel device or in the network since it runs without network connection too.

Any idea?


Could it be that you have defined an alias instead of a script?

Defining an alias

# alias r='cd ..'

And trying to find it with which

# which r

won't find it:

# no r in (/usr/local/bin:/ .....)

Need Your Help

Long vs BigInteger

java long-integer biginteger

I understand that both java.lang.Long and java.math.BigIntegercan hold very large natural numbers.

Why is the overloaded == operator function saying that 2 parameters is too many

c++ operator-overloading

The MS Visual c++ 2010 compiler is telling me the operator== has too many parameters, but