Strange behaviour of the "cd" command

C de-Avillez hggdh2 at ubuntu.com
Sat Jul 15 04:18:21 UTC 2017


On Wed, 12 Jul 2017 12:09:01 +0200
Dr Rainer Woitok <rainer.woitok at gmail.com> wrote:


> And as an aside, I also have a Korn Shell running on a Windows box
> under Cygwin which does NOT  exhibit the  strange behaviour
> described in this thread.   This one has a value of "@(#)MIRBSD KSH
> R54 2016/11/11" stored in shell variable "KSH_VERSION", making it
> considerably more recent.

For this one, you can install the mksh package; execute the shell by
calling 'mksh':

/data/buildd$ mksh
$ echo $KSH_VERSION
@(#)MIRBSD KSH R54 2016/11/11
$ ps
  PID TTY          TIME CMD
 4268 pts/4    00:00:00 bash
17069 pts/4    00:00:00 mksh
17318 pts/4    00:00:00 ps
$ ^D
/data/buildd$


Cheers,

..C..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20170714/1479c035/attachment.sig>


More information about the ubuntu-users mailing list