• Complain

Cameron Newham [Cameron Newham] - Learning the bash Shell, 3rd Edition

Here you can read online Cameron Newham [Cameron Newham] - Learning the bash Shell, 3rd Edition full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2005, publisher: O’Reilly Media, Inc., genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Cameron Newham [Cameron Newham] Learning the bash Shell, 3rd Edition

Learning the bash Shell, 3rd Edition: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Learning the bash Shell, 3rd Edition" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

OReillys bestselling book on Linuxs bash shell is at it again. Now that Linux is an established player both as a server and on the desktop Learning the bash Shell has been updated and refreshed to account for all the latest changes. Indeed, this third edition serves as the most valuable guide yet to the bash shell.As any good programmer knows, the first thing users of the Linux operating system come face to face with is the shell the UNIX term for a user interface to the system. In other words, its what lets you communicate with the computer via the keyboard and display. Mastering the bash shell might sound fairly simple but it isnt. In truth, there are many complexities that need careful explanation, which is just what Learning the bash Shell provides.If you are new to shell programming, the book provides an excellent introduction, covering everything from the most basic to the most advanced features. And if youve been writing shell scripts for years, it offers a great way to find out what the new shell offers. Learning the bash Shell is also full of practical examples of shell commands and programs that will make everyday use of Linux that much easier. With this book, programmers will learn:

  • How to install bash as your login shell
  • The basics of interactive shell use, including UNIX file and directory structures, standard I/O, and background jobs
  • Command line editing, history substitution, and key bindings
  • How to customize your shell environment without programming
  • The nuts and bolts of basic shell programming, flow control structures, command-line options and typed variables
  • Process handling, from job control to processes, coroutines and subshells
  • Debugging techniques, such as trace and verbose modes
  • Techniques for implementing system-wide shell customization and features related to system security

Cameron Newham [Cameron Newham]: author's other books


Who wrote Learning the bash Shell, 3rd Edition? Find out the surname, the name of the author of the book and a list of all author's works by series.

Learning the bash Shell, 3rd Edition — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Learning the bash Shell, 3rd Edition" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Appendix A. Related Shells

The fragmentation of the UNIX marketplace has had its advantages and disadvantages. The advantages came mostly in the early days: lack of standardization and proliferation among technically knowledgeable academics and professionals contributed to a healthy free market for UNIX software, in which several programs of the same type (e.g., shells, text editors, system administration tools) would often compete for popularity. The best programs would usually become the most widespread, while inferior software tended to fade away.

But often there was no single best program in a given category, so several would prevail. This led to the current situation, where multiplicity of similar software has led to confusion, lack of compatibility, andmost unfortunate of allthe inability of UNIX to capture as big a share of the market as other operating platforms (MS-DOS, Microsoft Windows, Novell NetWare, etc.).

The shell category has probably suffered in this way more than any other type of software. As we said in the , several shells are currently available; the differences between them are often not all that great.

Therefore we felt it necessary to include information on shells similar to bash . This appendix summarizes the differences between bash and the following:

  • The standard Bourne shell, as a kind of baseline

  • The IEEE POSIX 1003.2 shell Standard, to which bash adheres and other shells will adhere in the future

  • The Korn shell ( ksh ), a popular commercial shell provided with many UNIX systems

  • pdksh , a widely used public domain Korn shell

  • zsh , a popular alternative to bash and the Korn shell

The Bourne Shell

bash is almost completely backward-compatible with the Bourne shell. The only significant feature of the latter that bash doesnt support is ^ (caret) as a synonym for the pipe (|) character. This is an archaic feature that the Bourne shell includes for its own backward compatibility with earlier shells. No modern UNIX version has any shell code that uses ^ as a pipe.

To describe the differences between the Bourne shell and bash , well go through each chapter of this book and enumerate the features discussed in the chapter that the Bourne shell does not support. Although some versions of the Bourne shell exist that include a few bash features,[] we refer to the standard Bourne shell that has been around for many years.

The cd - form of the cd command; tilde ( ~ ) expansion; the jobs command; the help built-in.

All. (That is, the Bourne shell doesnt support any of the readline , history, and editing features discussed in this chapter.)

Aliases; prompt string customization; set options. The Bourne shell supports only the following: -e , -k , -n , -t , -u , -v , -x , and - . It doesnt support option names ( -o ). The shopt built-in. Environment files arent supported. The following built-in variables arent supported:

All variables beginning with BASH_

All variables beginning with COMP

CDPATH

DIRSTACK

FCEDIT

FUNCNAME

GROUPS

HISTCMD

HISTCONTROL

HISTFILE

HISTIGNORE

HISTSIZE

HISTFILESIZE

HOSTFILE

HOSTNAME

HOSTTYPE

IGNOREEOF

INPUTRC

LANG

LC_ALL

LC_COLLATE

LC_MESSAGES

LINENO

MACHTYPE

MAILCHECK

OLDPWD

OPTARG

OPTERR

OPTIND

OSTYPE

PIPESTATUS

PS3

PS4

POSIXLY_CORRECT

PROMPT_COMMAND

PWD

RANDOM

REPLY

SECONDS

SHELLOPTS

SHLVL

TIMEFORMAT

TMOUT

auto_resume

histchars

Functions; the type command; the local command; the ${#parameter} operator; pattern-matching variable operators ( % , %% , # , ## ). Extended pattern matching. Command-substitution syntax is different: use the older `command` instead of $(command ). The built-in pushd and popd commands.

The ! keyword; the select construct isnt supported. The Bourne shell return doesnt exit a script when it is sourced with . (dot).

Use the external command getopt instead of getopts , but note that it doesnt really do the same thing. Integer arithmetic isnt supported: use the external command expr instead of the $((arithmetic-exp)) syntax. The arithmetic conditional ((arithmetic-exp)) isnt supported; use the old condition test syntax and the relational operators -lt , -eq , etc. Array variables are not supported. declare and let arent supported.

The command , builtin , and enable built-ins. The -e and -E options to echo are not supported. The I/O redirectors >| and <> are not supported. None of the options to read is supported. printf is usually available as an external command.

Job controlspecifically, the jobs , fg , and bg commands. Job number notation with % , i.e., the kill and wait commands only accept process IDs. The - option to trap (reset trap to the default for that signal). trap only accepts signal numbers, not logical names. The disown built-in.

The DEBUG, ERR, and RETURN fake signals are not supported. The EXIT fake signal is supported as signal 0.

The ulimit command and privileged mode arent supported. The -S option to umask is not supported. The Bourne shells restrictive counterpart, rsh , only inhibits assignment to PATH .

The IEEE 1003.2 POSIX Shell Standard

There have been many attempts to standardize UNIX. Hardware companies monolithic attempts at market domination, fragile industry coalitions, marketing failures, and other such efforts are the stuff of historyand the stuff of frustration.

Only one standardization effort has not been tied to commercial interests: the Portable Operating System Interface, known as POSIX. This effort started in 1981 with the /usr/group

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Learning the bash Shell, 3rd Edition»

Look at similar books to Learning the bash Shell, 3rd Edition. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Learning the bash Shell, 3rd Edition»

Discussion, reviews of the book Learning the bash Shell, 3rd Edition and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.