I'm using a program called node-webkit, but I can't start the program without specifying the full path to the executable file. Is there any way to associate a command (such as node-webkit
) with an executable file on Linux, so that the full path to the file won't need to be specified?
|
||||
|
A third option, perhaps least intrusive, is to add an alias in your
The way this works is like |
|||||
|
In order for the binary to be executed with it's name alone, the directory containing the binary needs to be in one of the directories specified by your
You can place this in an initialization script for your shell,
|
|||
|
Sure ... symbolic links. The command is "ln".
This is your path variable. Say, you have root privileges, creating a symlink into /usr/bin makes sense:
|
|||||||||
|