Assuming that the "export" does not fix your problem, please check the output from:
alias
ls -lad /usr/local/bin/abc
file /usr/local/bin/abc
Ps: We have all assumed that you are using a modern Bourne-like Shell (e.g. bash) on a mainstream Operating System. If it is something unusual like BusyBox or "csh" please state your environment.
Thank you for your answers. I am using csh as the shell environment and have the following as the output:
# alias
h (history 25)
j (jobs -l)
la (ls -a)
lf (ls -FA)
ll ls -lAG
# ls -lad /usr/local/bin/abc
-r-xr-xr-x 1 root wheel 3463 May 19 19:40 /usr/local/bin/abc
# file /usr/local/bin/abc
/usr/local/bin/abc: a /usr/local/bin/perl script text executable