in usual Linux , to find a file in PATH , we use which
$ which git
/usr/bin/git
but in void linux , i got :
/sbin/git
in usual Linux , to find a file in PATH , we use which
$ which git
/usr/bin/git
but in void linux , i got :
/sbin/git
Different distributions put some files in different places. That's normal, just go with whatever you find in void-linux and don't worry if its in a different place than you are expecting to see it compared to another distribution . The only caveat would be if you suddenly find it in a real oddball location like /tmp or your home directory.
If its a standard utility installed by void-linux and its not in /usr/sbin, /bin (or their sub-directories) then question its authenticity and ASK about it before executing it.
which
? What to use then? – Kamil Maciorowski May 07 '21 at 18:31ln -s /sbin/git /usr/bin/
. – cas May 08 '21 at 02:11