I deleted symbolic link which was pointing to x binary, recreated a same link pointing to y binary i.e. now it’s pointing to y binary instead of x binary.
When I am running binary from its location it’s giving correct result. Let say the binary is at location
$/tmp/value>./y Output is correct
If I go to another directory, /abd/def>/tmp/value/y Its giving me output of x binary
Can anyone tell me why I am getting some issue.