This shell script and shell programming site aims to provide book reviews and free ebook on bash shell, korn shell, shell commands, linux shell, awk shell, unix commands, ftp shell and all other shells.
Showing posts with label Korn Shell. Show all posts
Showing posts with label Korn Shell. Show all posts

Download free Shell programming ebooks

This posting provides you free ebooks on shell programming, shell scripts, bash shell, korn shell, shell commands, linux shell, awk shell, unix commands, ftp shell, advanced bash scripting, z shell, shell scripting basics, korn shell programming, bourne shell programming, C shell, z shell, etc. These shell programming free ebooks downloads can master you in the mentioned subjects.
You can get free shell programming ebooks from the following links. Download and master in shell scripting and programming in unix and linux.
  1. A User's Guide to the Z-Shell By Peter Stephenson
  2. Advanced Bash-Scripting Guide By Mendel Cooper
  3. An Introduction to the Unix Shell - Mirrored by Steve Parker
  4. An Introduction to the Z Shell By Paul Falstad
  5. Easy Shell Scripting By Blessen Cherian
  6. Example Shell Scripts - Context-Switch.com
  7. Getting the Most From Your Shell By Paul Dunne
  8. ksh - Public domain Korn shell by Eric Gisin
  9. ksh(1) - KornShell, a standard/restricted command and programming language
  10. Learning the Shell By William Shotts, Jr.
  11. Linux Kernel Development Second Edition By Robert Love
  12. Linux Programming By Kurt Wall, Mark Watson, and Mark Whitis
  13. Linux Shell Scripting Tutorial by Vivek G Gite
  14. O'reilly Learning the Korn Shell By Bill Rosenblatt
  15. Programming the UNIX/linux Shell by Claude Cantin
  16. Sams Teach Yourself Shell Programming in 24 Hours
  17. Shell Command Language by The Open Group
  18. Shell Programming Part-1 by B. Brown
  19. Shell Programming Part-2 by B. Brown
  20. Shell Script Programming by Matz Kindahl
  21. Shell Scripts and Awk By Tim Love
  22. The C Shell tutorial from University of Hawaii at Manoa
  23. The Linux Kernel Module Programming Guide By Peter Jay Salzman and Ori Pomerantz
  24. THE Unix SHELL GUIDE By Norman J. Buchanan and Douglas M. Gingrich
  25. UNIX Bourne Shell Programming
  26. Unix Programming Tools By Parlante, Zelenski, and many others
  27. UNIX shell differences and how to change your shell from faqs.org
  28. UNIX shell scripting with sh/ksh
  29. UNIX System Calls and Subroutines using C By A. D. Marshall
  30. Writing Shell Scripts by William Shotts, Jr.
  31. ZSH Documentation by Paul Falstad

O'reilly Learning the Korn Shell

By Bill Rosenblatt
The long, tortuous history of the UNIX operating system has resulted in systems with all kinds of permutations and combinations of features. This means that whenever you walk up to an unfamiliar UNIX system, you need to find out certain things about it in order to use it properly. And even on a given system, you may have a number of choices you can make about what features you want to use.
The most important such decision - if you get to make it - is what shell to use. "Shell" is UNIX jargon for the program that allows you to communicate with the computer by entering commands and getting responses. The shell is completely separate from the UNIX operating system per se; it's just a program that runs on UNIX. With other systems such as MS-DOS, the Macintosh, and VM/CMS, the command interpreter or user interface is an integral part of the operating system.
Nowadays there are dozens of different shells floating around, ranging from the original standard, the Bourne shell, to menu-based and graphical interfaces. The most important shells have been the Bourne shell, the C shell, and now the Korn shell - the subject of this book.

ksh - Public domain Korn shell

by Eric Gisin
ksh is a command interpreter that is intended for both interactive and shell script use. Its command language is a superset of the sh(1) shell language.
Shell Startup
The following options can be specified only on the command line:
-c command-string
the shell executes the command(s) contained in command-string
-i
interactive mode - see below
-l
login shell - see below interactive mode - see below
-s
the shell reads commands from standard input; all non-option arguments are positional parameters
-r
restricted mode - see below
In addition to the above, the options described in the set built-in command can also be used on the command line.
If neither the -c nor the -s options are specified, the first non-option argument specifies the name of a file the shell reads commands from; if there are no non-option arguments, the shell reads commands from standard input. The name of the shell (i.e., the contents of the $0) parameter is determined as follows: if the -c option is used and there is a non-option argument, it is used as the name; if commands are being read from a file, the file is used as the name; otherwise the name the shell was called with (i.e., argv[0]) is used.
A shell is interactive if the -i option is used or if both standard input and standard error are attached to a tty. An interactive shell has job control enabled (if available), ignores the INT, QUIT and TERM signals, and prints prompts before reading input (see PS1 and PS2 parameters). For non-interactive shells, the trackall option is on by default (see set command below).

ksh(1) - KornShell, a standard/restricted command and programming language

docs.sun.com
The /usr/xpg4/bin/sh utility is a standards compliant shell. This utility provides all the functionality of /usr/bin/ksh, except in cases discussed below where differences in behavior exist. See Arithmetic Expansions section for details.
/usr/bin/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. See Invocation below for the meaning of arguments to the shell.
Definitions
A metacharacter is one of the following characters:
; & ( ) < > NEWLINE SPACE TAB
A blank is a TAB or a SPACE. An identifier is a sequence of letters, digits, or underscores starting with a letter or underscore. Identifiers are used as names for functions and variables. A word is a sequence of characters separated by one or more non-quoted metacharacters.
A command is a sequence of characters in the syntax of the shell language. The shell reads each command and carries out the desired action either directly or by invoking separate utilities. A special-command is a command that is carried out by the shell without creating a separate process. Except for documented side effects, most special commands can be implemented as separate utilities.

Followers