I've made a new command/alias like hello
in /home/****/bin/hello
when I execute as root user:
$ hello
it's output like:
Hello, the program executed by terminal command.
but when I execute with fish shell
$ hello
output
Failed to execute process '/home/***/bin/hello'. Reason:
exec: Exec format error
The file '/home/***/bin/hello' is marked as an executable but could not be run by the operating system.
I've searched in google but I'm not success.
No file or directory exist as ~/.config/fish/functions
Please help me as I'm not expert in the Linux world.