I cannot execute lsnrctl in Linux RHEL7

I can clearly see the file:

[oid bin]$ ls -xl lsn*
-rwxr-xr-x. 1 775 oracle  65053 Jun 30  2014 lsnodes
-rwxr-x--x. 1 775 oracle 155872 Jan 31  2017 lsnrctl
-rwxr-xr-x. 1 775 oracle      0 Jul  6  2015 lsnrctl0

but get this:

[oid bin]$ lsnrctl status
bash: lsnrctl: command not found

I am new to Linux, but executed:
 sudo chown -R 775 /oracle directory name

still no love....

What gives?
LVL 1
cyimxtckAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
Try with ./lsnrctl status
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cyimxtckAuthor Commented:
that was it mate!  THANKS a ton!!!  :)

Why do I need that preceding ./ in there when I am already in the directory?

Just curious...
0
cyimxtckAuthor Commented:
very easy solution, if you know what you are doing :)
0
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
For security reasons, the current working directory will not be searched for executables (including shell scripts). You need to extend the path variable by all paths you want to use those from. Or provide a path when calling, like shown above.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.