If you want to run the byState executable that is found in a particular directory, as opposed to the first one (if any) found in any of the $PATH directories, you need to invoke it by its path. As that has to contain at least one /, for the one that is in the current working directory, you typically use ./byState which, like byState is a relative path to that file, but is one that contains a /. You could also use /full/path/to/byState or ././byState or ../here/byState which would also work.