Having program in
I can launch it by following command
cd /home/user/Downloads/program && ./main or from GUI.
What I want is to launch it from terminal by typing
I tried to do
ln -s /home/user/Downloads/program/main /usr/local/bin or to
/bin but it had no effect.
Before linking I issued
chmod +x command.
This is compiled program, error message I get is
main: command not found
What I'm doing wrong?