I have an executable file but don't know what type or format it is. When I execute like this
$chmod +x xfile
$./xfile
It shows
Permission denied
when I run as super user
$sudo ./xfile
It shows
sudo: ./xfile: command not found
I am new to Linux please tell me how to execute it.
sudo sh /path/to/file/xfile