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?A:
ln -s /<full>/<path>/<to>/<file> /usr/local/bin- It would be a better way as below:
echo "export PATH=\$PATH:/opt/bin" >> ~/.bashrc . ~/.bashrc
沒有留言:
張貼留言