Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #20743

Re: Just curious: why is /usr/bin/python not a symlink?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <chris@rebertia.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.027
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'oct': 0.02; 'python': 0.08; 'method:': 0.09; 'subject:python': 0.10; 'am,': 0.12; 'python2.6': 0.16; 'cc:addr:python-list': 0.16; 'wrote:': 0.18; 'subject:not': 0.19; 'cheers,': 0.20; 'cc:no real name:2**0': 0.21; 'header:In-Reply-To:1': 0.22; 'dec': 0.22; 'feb': 0.22; 'received:209.85.212.46': 0.23; 'received:mail- vw0-f46.google.com': 0.23; 'debian': 0.23; 'cc:2**0': 0.26; 'depends': 0.28; "i'm": 0.28; 'message-id:@mail.gmail.com': 0.29; 'cc:addr:python.org': 0.29; 'server': 0.30; 'chris': 0.30; 'installation': 0.30; 'subject:?': 0.31; 'thu,': 0.32; 'received:209.85.212': 0.33; 'rather': 0.34; 'subject:/': 0.34; 'identical': 0.34; 'root': 0.34; 'two': 0.36; 'received:google.com': 0.37; 'received:209.85': 0.38; 'files': 0.39; 'received:209': 0.39; 'header:Received:6': 0.61; 'your': 0.61; '2011': 0.61; '19:34': 0.84; 'python2': 0.84; 'received:10.220': 0.84; 'sender:addr:chris': 0.84; 'to:none': 0.93; 'subject:Just': 0.93
Received-SPF pass (google.com: domain of chris@rebertia.com designates 10.220.151.67 as permitted sender) client-ip=10.220.151.67;
Authentication-Results mr.google.com; spf=pass (google.com: domain of chris@rebertia.com designates 10.220.151.67 as permitted sender) smtp.mail=chris@rebertia.com; dkim=pass header.i=chris@rebertia.com
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=rebertia.com; s=google; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:cc:content-type :content-transfer-encoding; bh=bYZcqCdNqixIFVzU3+YsaC0PRd+b4EfM0EIT2aJhQmo=; b=KWanZGF3umlaCNI1zrM5sB8BYyyPCNm42rTPyUMTt0OAL/Xv9CdEt25w2BzRuUcThM FU7uTw+p9O4tjMMVkLOSCFe4pILdWaFkbRZPg126Htf3/2Kkfmvy5pT3ktNkHknGzjx7 SnDQC9gXjo6eMXLprnUpHnyzXJlER0xHFD9EI=
MIME-Version 1.0
Sender chris@rebertia.com
In-Reply-To <ji630k$52f$1@news.albasani.net>
References <ji630k$52f$1@news.albasani.net>
Date Thu, 23 Feb 2012 11:26:35 -0800
X-Google-Sender-Auth oVI9gCUWhLe8R_mQ6Fqq4_bwHWk
Subject Re: Just curious: why is /usr/bin/python not a symlink?
From Chris Rebert <clp2@rebertia.com>
Cc python-list@python.org
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-Gm-Message-State ALoCoQnQxVWJncTCzuPffuKf6wrnql+VN5+Tav87gj8RE9nGEVCdEGbqNUwLc+bQO3jwFP5MSoQX
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.85.1330025198.3037.python-list@python.org> (permalink)
Lines 21
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1330025198 news.xs4all.nl 6893 [2001:888:2000:d::a6]:49238
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:20743

Show key headers only | View raw


On Thu, Feb 23, 2012 at 11:11 AM, Colin Higwell
<someone@someplace.invalid> wrote:
> $ cd /usr/bin
> $ ls -l python*
> -rwxr-xr-x 2 root root 9496 Oct 27 02:42 python
> lrwxrwxrwx 1 root root    6 Oct 29 19:34 python2 -> python
> -rwxr-xr-x 2 root root 9496 Oct 27 02:42 python2.7
> $ diff -s  python python2.7
> Files python and python2.7 are identical
> $
>
> I'm just curious: Why two identical files rather than a symlink?

Depends on your distro / installation method:
$ ls -l python*
lrwxrwxrwx 1 root root       9 Apr 12  2011 python -> python2.6
-rwxr-xr-x 1 root root 2288272 Dec 27  2010 python2.6
$ # this is on my Debian server

Cheers,
Chris

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Just curious: why is /usr/bin/python not a symlink? HoneyMonster <someone@someplace.invalid> - 2012-02-23 19:11 +0000
  Re: Just curious: why is /usr/bin/python not a symlink? Colin Higwell <colinh@somewhere.invalid> - 2012-02-23 19:15 +0000
  Re: Just curious: why is /usr/bin/python not a symlink? Jerry Hill <malaclypse2@gmail.com> - 2012-02-23 14:24 -0500
    Re: Just curious: why is /usr/bin/python not a symlink? HoneyMonster <someone@someplace.invalid> - 2012-02-23 19:34 +0000
      Re: Just curious: why is /usr/bin/python not a symlink? Terry Reedy <tjreedy@udel.edu> - 2012-02-23 16:11 -0500
        Re: Just curious: why is /usr/bin/python not a symlink? John Roth <johnroth1@gmail.com> - 2012-02-24 09:22 -0800
      Re: Just curious: why is /usr/bin/python not a symlink? Jerry Hill <malaclypse2@gmail.com> - 2012-02-23 14:54 -0500
        Re: Just curious: why is /usr/bin/python not a symlink? Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2012-02-24 08:47 +0100
          Re: Just curious: why is /usr/bin/python not a symlink? Roy Smith <roy@panix.com> - 2012-02-24 08:17 -0500
  Re: Just curious: why is /usr/bin/python not a symlink? Chris Rebert <clp2@rebertia.com> - 2012-02-23 11:26 -0800

csiph-web