Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: grammar triviality with '&&'
On Mar 2, 2015 11:03 AM, "ZyX" <kp-pav@xxxxxxxxx> wrote:
>
> Why hardlink and why in /bin?
>
> % la /usr/bin/{test,\[}
> -rwxr-xr-x 1 root 39K янв 31 04:03 /usr/bin/[*
> -rwxr-xr-x 1 root 35K янв 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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author