Proper shebang for python3

Cameron Simpson cs at cskk.id.au
Wed Jul 24 18:20:30 EDT 2019


On 24Jul2019 21:36, Barry Scott <barry at barrys-emacs.org> wrote:
>> 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/

That is some progress, hooray. Then there's just sbin -> bin to go. They 
could merge lib and lib64 too if they embedded an architecture signature 
in library filenames.

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

Thanks for these references.

Cheers,
Cameron Simpson <cs at cskk.id.au>



More information about the Python-list mailing list