I am installing p4v in /opt, but /usr/bin is on my path. Is it possible to create a soft or symbolic link for p4v from /opt to /usr/bin, so I can just type "p4v" since /usr/bin is in my path?
|
|
|||||
|
|
See
You would need to apply the above command as root (with |
|||||||||||||||||||||
|
|
The error is that you are writing the command wrong. The correct way is
|
||||
|
|
|
If the 'p4v' executable is at /opt/bin/p4v, you can simply run:
It would be better to add /opt/bin (or wherever the executable is) to your path:
|
|||||||||
|
|
Check the software location by this.
for example
output will be this.
To create the soft link. for example you want to create the soft link for
For more information about
or
|
||||
|
|
|
If it is saying You need to edit the path and add a backslash eg:
|
|||||
|
Note, this works if you both nodes are below you in the same tree. You can use relative notation -s command makes it a symbolic link -n makes it possible de create a folder-type symlink |
|||||
|