I installed kubectl in my system. I am trying to check version of kubectl, but it shows me the below error.
$ kubectl version
Failed to execute process '/usr/local/bin/kubectl'. Reason:
exec: Exec format error
The file '/usr/local/bin/kubectl' is marked as an executable but could not be run by the operating system.