programs usually installed in /bin (or /usr/bin or /usr/sbin). also. you can check your path by
echo ...
chancho 發表於 2019-11-30 03:36


係咪通用?唔會 ARCH  一套 FEDORA 一套 OPENSUSE 一套 UBUNTU 又一套?我先假設 CHING 講既係 UBUNTU,我會晚 D 先 VM 睇下各個 DISTRO 查看睇係咪一致

TOP

回覆 19# chue


    你要簡單複雜化去做一件事, 就要從根本學習, 本來唔想再答, 不過算。。。自己睇

https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.pdf

TOP

回覆  chue


    你要簡單複雜化去做一件事, 就要從根本學習, 本來唔想再答, 不過算。。。自己睇

...
Kin_2012 發表於 2019-11-30 09:50



    收下,THX

TOP

本帖最後由 chancho 於 2019-11-30 12:59 編輯

No, not all distro follow fhs. It is easy for young and active distro to follow. Using arch as example, it still keeps /usr/bin and /sbin but they are soft link to /bin. From user point of view, the path is not that important unless you have two program with the same name in different path

TOP