Proper shebang for python3

Barry Scott barry at barrys-emacs.org
Wed Jul 24 16:36:45 EDT 2019



> On 23 Jul 2019, at 00:13, Cameron Simpson <cs at cskk.id.au> wrote:
> 
> Why _any_ modern system has anything other than /bin in the base install escapes me.  In the distant past /sbin and a distinct /usr with its own bin had their values, but these days? Bah!


On fedora its all in /usr these days with symlinks to the old locations.

$ ls -l / | grep usr
lrwxrwxrwx    1 root root     7 Feb 11 13:47 bin -> usr/bin/
lrwxrwxrwx    1 root root     7 Feb 11 13:47 lib -> usr/lib/
lrwxrwxrwx    1 root root     9 Feb 11 13:47 lib64 -> usr/lib64/
lrwxrwxrwx    1 root root     8 Feb 11 13:47 sbin -> usr/sbin/
drwxr-xr-x.  13 root root  4096 May  5 17:22 usr/

You can read about why here https://www.freedesktop.org/wiki/Software/systemd/TheCaseForTheUsrMerge/ <https://www.freedesktop.org/wiki/Software/systemd/TheCaseForTheUsrMerge/> and also https://fedoraproject.org/wiki/Features/UsrMove <https://fedoraproject.org/wiki/Features/UsrMove>

Barry




More information about the Python-list mailing list