Le 8 mai 2018 20:13, Rafał -rsm- Marek <r...@lisper.pl> a écrit :

hi michele,

On 07/05/18 23:30, Michele Bucca wrote:
> Rename 'ln.s' into 'ln' and put it inside a PATH directory inside your
> home, don't overwrithe /bin/ln !

yes (and it's annoying), but! when you run bash again, it will overwrite
:) i assume there is some cache i don't know.

POC:

$ env | grep PATH
PATH=/home/rsm/bin:/usr/local/bin:/usr/bin:/bin
$ cp /bin/ln ~/bin

$ which ln
/bin/ln

Issue "rehash", so that the current $PATH is used. Then "which ln" would return "/home/rsm/bin/ln"

$ bash
$ which ln
/home/rsm/bin/ln

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to