A note about cd

In some traditional UNIX systems, the cd (change directory) command modifies the pathname given to it if that pathname contains symbolic links. As a result, the pathname of the new current working directory may differ from the one given to cd.

In QNX Neutrino, however, cd doesn't modify the pathname—aside from collapsing .. references. For example:

cd /usr/home/dan/test/../doc

would result in a current working directory—which you can display with pwd—of /usr/home/dan/doc, even if some of the elements in the pathname were symbolic links.

For more information about symbolic links and .. references, see "QNX 4 filesystem" in the Working with Filesystems chapter of the QNX Neutrino User's Guide.