Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



The Monday 2008-01-07 at 15:09 -0500, Aaron Kulkis wrote:

Bill Anderson wrote:

 Bourne shell compatibility. You might also note that under Linux it is
 /usr/bin/sh, /usr/bin/ksh, and /bin/bash.

No, not really:

[EMAIL PROTECTED]:~> l /bin/sh /usr/bin/sh
lrwxrwxrwx 1 root root 4 2007-11-03 02:13 /bin/sh -> bash*
lrwxrwxrwx 1 root root 9 2007-11-03 02:13 /usr/bin/sh -> /bin/bash*

[EMAIL PROTECTED]:~> l /bin/ksh /usr/bin/ksh
lrwxrwxrwx 1 root root 16 2007-11-03 16:07 /bin/ksh -> /lib/ast/bin/ksh*
lrwxrwxrwx 1 root root 16 2007-11-03 16:07 /usr/bin/ksh -> /lib/ast/bin/ksh*

[EMAIL PROTECTED]:~> l /bin/bash /usr/bin/bash
ls: cannot access /usr/bin/bash: No such file or directory
- -rwxr-xr-x 1 root root 604040 2007-09-22 00:16 /bin/bash*

- -- Cheers,
       Carlos E. R.
My original comment about /bin being linked to /usr/bin applied only to Solaris, AIX, and HPUX. Yet, all the examples of why I am wrong are from Linux. If you were on a Unix system, there would not be a /lib/ast/ksh, as KornShell is in /usr/bin. The other difference you will notice is that AIX now has bsh for Bourne Shell. Those who use Unix also notice the emphasis on hard links in Unix versus symbolic links in Linux.

Bill Anderson
WW7BA
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to