lsnrctl: cannot execute binary file: Exec format error When I type lsnrctl from my command prompt the below error message is displayed:

oracle@Gaurav:~$ lsnrctl
bash: /u01/app/oracle/product/12.1.0/dbhome_1/bin/lsnrctl: 
cannot execute binary file: Exec format error


Can anyone please provide me lsnrctl for oracle 12c, so that I could replace it?
First, don't worry about the comments. Your question or problem is total valid.

Second, there is a comment about "ubuntu isn't supported so your question should be deleted" which isn't right. If ubuntu isn't "supported", that means you will have probably more problems if you try to install it, and Oracle won't help you. But Oracle never can be really easy installed (I am thinking some like so easy as typing as an apt-get install oracle-11.2-server or like, which is easy. Sucking with a monstrous and buggy java installer, which Oracle DB has, isn't easy), not for the so-named "supported" distributions/systems and not for the "unsupported" ones. Second, your problem is still a valid database administration problem, even if you use ubuntu or not.

About your problem: it is really clear. lsnrctl had to be runnable. This error message has the very clear meaning: your lsnrctl has an invalid binary format in your architecture. For example, you are trying to run a 64-bit binary on a 32-bit system. Or you try to run an i386 binary on a ia64 system. Or your lsnrctl binary is somehow damaged.

The command file -szL /u01/app/oracle/product/12.1.0/dbhome_1/bin/lsnrctl could make clear, which is the real problem, thus what is happened to your lsnrctl. But it is very probable, that simply you have a bad distribution installed, and so you need a reinstall, give a try to this command before.