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?
Viewing a single forum discussion topic.
← Back to Programming Errors And Help
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 man ln.
To create a symlink at /usr/bin/bar which references the original file /opt/foo, use:
ln -s /opt/foo /usr/bin/bar
You would need to apply the above command as root (i.e. with sudo).
1-3 of 3
You cannot edit posts or make replies: You should be logged in before you can post.