I'd like to know if there is a way to run program/shell script without typing full path:
/opt/idea/bin/idea.sh
bashcommand linescripts
I'd like to know if there is a way to run program/shell script without typing full path:
/opt/idea/bin/idea.sh
Best Answer
You can just create symlink. Create it in
/usr/local/bin
. All you need is to run command:After that you should make your
file
executable:Now you should be able to run
name_of_new_command
at any time in your terminal.Note that this is good solution only for home usage of Linux.