Re: Two Z Shells

2014-10-06 Thread Bob McGowan
On 10/3/14, 6:31 PM, "John Aten"  wrote:

>* PGP Signed by an unknown key
>
>Hi all,
>
>I just installed z shell through:
>
>#apt-get install zsh zsh-doc
>
>Before installing, I looked for it with which and whereis. I got nothing
>from which, (it now lists /usr/bin/zsh) and when I typed whereis zsh it
>only returned:
>
># whereis zsh
>zsh:
>#
>
>I notice now that /etc/shells lists two Z shells;
>
>/bin/zsh
>/usr/bin/zsh
>
>I was wondering why this might be?
>
>Thanks,
>
>J
>

If a user has a login startup script or shell scripts that refer to
/bin/zsh, or to /usr/bin/zsh, they can be run without having to modify
them, after copying to the new system.

Note that there is only one file containing code.  As mentioned by Alexis,
the names you mention are links to the true executable, so there is only
one Z shell present on your system.

Bob


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/d0580a4a.4bd8%bob_mcgo...@symantec.com



Re: Two Z Shells

2014-10-03 Thread Alexis

John Aten writes:

> I notice now that /etc/shells lists two Z shells;
>
> /bin/zsh
> /usr/bin/zsh
>
> I was wondering why this might be?

On my system, both of those are symlinks that eventually lead to the
/bin/zsh4 binary (via symlinks in /etc/alternatives/).


Alexis.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87h9zk1om8@gmail.com



Two Z Shells

2014-10-03 Thread John Aten
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi all,

I just installed z shell through: 

#apt-get install zsh zsh-doc

Before installing, I looked for it with which and whereis. I got nothing from 
which, (it now lists /usr/bin/zsh) and when I typed whereis zsh it only 
returned:

# whereis zsh
zsh:
#

I notice now that /etc/shells lists two Z shells;

/bin/zsh
/usr/bin/zsh

I was wondering why this might be?

Thanks,

J





-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJUL04gAAoJED6rE5ImPwfDULMH/i1sIy60sy3gAuuOGFCwgvpe
cXXrcMiyjzJ3NdxvurYzMpd4791wYQMdNANyc8CD6nq+6oISQxMFWrvPFmJ8Rz4V
ZC5htv9InEprB6uyjE4ByJ5ifI48suYGHfd87PAmasLQH2Q08InTKO3vOxvvv7pO
Pp8P8T84Ov2NYJPDjtiAz/6f9fHyfMm87KbtDRRz8ZPMojaXtMWdW5gscApQX5HN
0qaTekeBrd74fuPfxMKHwf+g7lTIbZaU4vEB921+L4JxY0pKZcgqWhy3C+lXDHyy
6HMYY9yPINOBzgYGxZvlyJK8/0nL7EktRTp88SxQwF69GtIvqUV7450xyGxImRM=
=kUaP
-END PGP SIGNATURE-


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/858bf114-13d9-449e-98e3-171d218c8...@gmail.com