From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5206 invoked by alias); 2 Mar 2015 20:16:59 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19963 Received: (qmail 7269 invoked from network); 2 Mar 2015 20:16:56 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=IceQ4vEkCQqy4X5MvDkctvX19ADeN0S1qwyGxGXZMdE=; b=j3vofsu88VQk9XDZLYtH3SSs5fASbzCGvBPB65ybS01EQRzTK4BpIH0vGP3Fbp6KUm 0BEkDinzTSfV0eJpUR5ptExCpX6Gg2Ld64lriimkSViGOJuH4pF1rHH9M0LnVvKb7ASd HxYqe9emfnYiC+pJAjNrWJzlFAF5LwYczuK7y2DSuEyg29qfRT4eWEikyoCnXJLoaKPl UvnSNbg976U3Y3HzgHoXu0eH64m3/WcVEEDSPjKH/oEhpemjlAYaopmDA+pVU6v5Ioyy HkKBL48773QrLmZh8E2sGkG2kWnif4PDLPdx7JlF/FR9iqLsQirg3BjQl3k4n7IatFMk z4zQ== X-Gm-Message-State: ALoCoQndPuGCJvroTJVy74lgJB6M1tgtv89AUGuTRQeGOMFF+5Y0sDGCV3Maeu+4jk8mHenO5Svr MIME-Version: 1.0 X-Received: by 10.152.37.228 with SMTP id b4mr26034444lak.104.1425327413001; Mon, 02 Mar 2015 12:16:53 -0800 (PST) In-Reply-To: <3716401425322991@web19h.yandex.ru> References: <54F33934.2070607@eastlink.ca> <13666281425228233@web7o.yandex.ru> <54F345D3.9010204@eastlink.ca> <20150302022754.GA7449@xvii.vinc17.org> <54F3E489.5050603@eastlink.ca> <54F48D26.6040303@eastlink.ca> <3716401425322991@web19h.yandex.ru> Date: Mon, 2 Mar 2015 12:16:52 -0800 Message-ID: Subject: Re: grammar triviality with '&&' From: Kurtis Rader To: ZyX Cc: Zsh Users , Ray Andrews Content-Type: multipart/alternative; boundary=089e014939fc24156d051053e603 --089e014939fc24156d051053e603 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mar 2, 2015 11:03 AM, "ZyX" wrote: > > Why hardlink and why in /bin? > > % la /usr/bin/{test,\[} > -rwxr-xr-x 1 root 39K =D1=8F=D0=BD=D0=B2 31 04:03 /usr/bin/[* > -rwxr-xr-x 1 root 35K =D1=8F=D0=BD=D0=B2 31 04:03 /usr/bin/test* > > : you see there is a 4K difference. Not sure why, but both belong to coreutils package. A hardlink simply attaches a name to a file in UNIX like OSs. You can give a file multiple names by creating multiple hardlinks. These commands are normally in /bin because in the past the root and /usr file systems were separated and those commands were needed before /usr was mounted. It is strange that those two commands point to different programs on your computer. It may be a simple mistake. Or maybe the maintainers of your distro did it to maximize compatibility among the ancient and less ancient parts of the distro. --089e014939fc24156d051053e603--