Another way about - instead of prepending the executable name with "./" you could also add current directory, "." to the PATH PATH=.:$PATH