Wednesday, September 16, 2020

Re: How do you get different $PS1 for /bin/sh and /bin/ksh?

On 20/09/15 05:49PM, Ottavio Caruso wrote:
> Maybe it's just because OpenBSD sh is just ksh in disguise or there
> might be other reasons that I obviously don't know.

Yep, you're right. They share the same inode.

ls -li /bin/{,k}sh

77862 -r-xr-xr-x 3 root bin 613656 Sep 15 12:10 /bin/ksh
77862 -r-xr-xr-x 3 root bin 613656 Sep 15 12:10 /bin/sh

sh(1) also attests to this.

--
https://amissing.link

No comments:

Post a Comment