Aix ksh manual






















 · ksh - Unix, Linux Command, NOTE: Pfksh, Rpfksh and pfexec parts are not related to Linux systems. Rksh can be used as rksh symlink to ksh93 or as ksh -r. To make a ksh script (which is a ksh program) crate a new file with a starting line like: #!/usr/bin/ksh. In addition to the default system Korn shell (/usr/bin/ksh), AIX provides an enhanced version available as Korn shell /usr/bin/ksh This enhanced version is mostly upwardly compatible with the current default version, and includes a few additional features that are not available in Korn shell /usr/bin/ksh. From the ksh manual: Conditional Expressions. A conditional expression is used with the [[ compound command to test attributes of files and to compare strings.


The following are the shells that are provided with AIX®. Korn shell (started with the ksh command) Bourne shell (started with the bsh command) Restricted shell (a limited version of the Bourne shell, and started with the Rsh command) POSIX shell (also known as the Korn Shell, and started with the psh command). Ksh is a command and programming language that executes commands read from a terminal or a file. Rksh is a restricted version of the command interpreter ksh ; it is used to set up login names and execution environments whose capabilities are more controlled than those of the standard shell. Unix Shell Programming by Stephen Kochan and Patrick Wood (third Edition). More info; Teach yourself Shell Programming in 24 Hours, by S. Veeraraghavan. SAMS 2nd Edn. () More info; Mastering Unix Shell Scripting by Randal K. Michael, Wiley () More info Light on basics, but develops scripting through examples. Ksh only.


The ksh command invokes the Korn shell, which is an interactive command interpreter and a command programming language. The shell carries out commands. Pretend that ls doesn't do multicolumn output; write a shell script that does it. For the sake of simplicity, we'll assume further that our version of Unix is. AIX Version System User's Guide: Operating System and Devices The Korn shell, or POSIX shell, allows you to create aliases to customize commands.

0コメント

  • 1000 / 1000