O'Reilly logo

Korn Shell: Unix and Linux Programming Manual, Third Edition, The by Anatole Olczak

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building Pdksh

Once downloaded, it is fairly easy to build a runnable version. The first step is to run the configure script. This is a GNU script that will generate a Makefile and config.h files. Some of the useful options to configure are:

Table F.1. Pdksh Build Steps
1) configure configure PDKSH and prepare for build.
2) make build binaries and docs.
3) make check verify the build.
4) make install run the installation step.
5) set default shell add pdksh path to /etc/shells for default login shell (this step is optional)
prefix=PATHindicates the directory tree under which the binary and man page are installed (PATH/bin/ksh and PATH/man/man1/ksh.1). The default prefix is /usr/ local.
exec-prefix=PATHoverrides -prefix for machine dependent files ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required