I have an "unix executable file" named install-sh in my /Users/$USERNAME/Downloads folder which I want to execute.
However if I open my terminal and execute the following commands (being in Downloads dir): install-sh (returns no input file specified) open install-sh (returns nothing but I do not see anything happening)
Both of them doesn't work.
I have also set my $PATH variable of my bash to include /Users/$USERNAME/Downloads directory.
Could someone please help me with understanding how to execute an unix executable file in mac?
Please let me know if you need any other information from my end. Thank you.
./before the name of file, in your case must be./install-sh. You can specify the entirelly path without changing into the directory like that./home/$(whoami)/Downloads/install-sh