Learning the Korn Shell
Home > Computing and Information Technology > Computer programming / software engineering > Programming and scripting languages: general > Learning the Korn Shell
Learning the Korn Shell

Learning the Korn Shell


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

This nutshell handbook is an introduction to the Korn shell, both as a user interface and as a programming language. It provides an explanation of the Korn shell's features, including KSH string operations, co-processes, signals and signal handling, and command-line interpretation. Learning the Korn shell also includes real life programming examples and a Korn shell debugger.

Table of Contents:
Preface. Korn Shell Versions. Summary of Korn Shell Features. Intended Audience. Code Examples. Chapter Summary. Conventions Used in This Handbook. Acknowledgments. 1: Korn Shell Basics What Is a Shell? Scope of This Book History of UNIX Shells The Korn Shell Features of the Korn Shell Getting the Korn Shell Interactive Shell Use Commands, Arguments, and Options Files Directories Filenames and Wildcards Input and Output Standard I/O I/O Redirection Pipelines Background Jobs Background I/O Background Jobs and Priorities Special Characters and Quoting Quoting Backslash-escaping Quoting Quotation Marks Continuing Lines Control Keys. 2: Command-line Editing Enabling Command-line Editing The History File Emacs Editing Mode Basic Commands Word Commands Line Commands Moving Around in the History File Filename Completion and Expansion Miscellaneous Commands Keyboard Shortcuts with Aliases Vi Editing Mode Simple Control Mode Commands Entering and Changing Text Deletion Commands Moving Around in the History File Character-finding Commands Filename Completion Miscellaneous Commands The fc Command Finger Habits. 3: Customizing Your Environment The .profile File Aliases Tracked Aliases Options Shell Variables Variables and Quoting Built-in Variables Directory Search Path Customization and Subprocesses Environment Variables The Environment File Customization Hints. 4: Basic Shell Programming Shell Scripts and Functions Functions Shell Variables Positional Parameters More on Variable Syntax String Operators Syntax of String Operators Patterns and Regular Expressions Pattern-matching Operators Length Operator Command Substitution Advanced Examples: pushd and popd. 5: Flow Control if/else Exit Status and Return Combinations of Exit Statuses Condition Tests Integer Conditionals for case select while and until. 6: Command-line Options and Typed Variables Command-line Options shift Options with Arguments getopts Integer Variables and Arithmetic Arithmetic Conditionals Arithmetic Variables and Assignment Arrays typeset Local Variables in Functions String Formatting Options Type and Attribute Options Function Options. 7: Input/Output and Command-line Processing I/O Redirectors Here-documents File Descriptors String I/O print read Command-line Processing Quoting eval. 8: Process Handling Process IDs and Job Numbers Job Control Foreground and Background Suspending a Job Signals Control Key Signals kill ps trap Traps and Functions Process ID Variables and Temporary Files Ignoring Signals Resetting Traps Coroutines wait Advantages and Disadvantages of Coroutines Parallelization Coroutines with Two-way Pipes Two-way Pipes Versus Standard Pipes Subshells Subshell Inheritance Nested Subshells. 9: Debugging Shell Programs Basic Debugging Aids Set Options Fake Signals A Korn Shell Debugger Structure of the Debugger The Preamble Debugger Functions Sample kshdb Session Exercises. 10: Korn Shell Administration Installing the Korn Shell as the Standard Shell Environment Customization umask ulimit Types of Global Customization System Security Features Restricted Shell A System Break-in Scenario Tracked Aliases Privileged Mode A: Related Shells The Bourne Shell The IEEE 1003.2 POSIX Shell Standard wksh pdksh bash Workalikes on PC Platforms The Future of the Korn Shell. B: Reference Lists Invocation Options Built-in Commands and Keywords Built-in Shell Variables Test Operators Options Typeset Options Emacs Mode Commands Vi Control Mode Commands C: Obtaining Sample Programs and Problem Set Answers Figures 1: Korn Shell Basics 1-1 The shell is a layer around the UNIX operating system 1-2 A tree of directories and files. 4: Basic Shell Programming 4-1 Ways to run a shell script 4-2 Functions have their own positional parameters. 5: Flow Control 5-1 Files produced by a C compiler. 6: Command-line Options and Typed Variables 6-1 Local variables in functions. 7: Input/Output and Command-line Processing 7-1 Steps in Command-line Processing. 8: Process Handling 8-1 Background Jobs in Multiple Windows 8-2 Coroutine I/O

About the Author :
Bill Rosenblatt is coauthor, with Deb Cameron, of the O'Reilly Nutshell Handbook(R) Learning GNU Emacs. He is director of publishing systems at the Times Mirror Company in New York City and a contributing editor of Advanced Systems magazine. Bill received a B.S.E. from Princeton University and an M.S. and A.B.D. from the University of Massachusetts at Amherst, each in some variant of computer science. His interests in the computing field include software engineering, object-oriented systems, databases, and programming language theory. Outside of the computing field, he's interested in jazz, classical music, antique maps, and Sherlock Holmes pastiche novels. Bill lives on the Upper West Side of Manhattan. He wishes his landlord allowed pets so that he could truthfully claim to have a dog and cat with suitably droll names like "Coltrane" and "Ravel".


Best Sellers


Product Details
  • ISBN-13: 9781565920545
  • Publisher: O'Reilly Media
  • Publisher Imprint: O'Reilly Media
  • Height: 228 mm
  • Returnable: N
  • Width: 153 mm
  • ISBN-10: 1565920546
  • Publisher Date: 09 Feb 1993
  • Binding: Book
  • Language: English
  • Weight: 490 gr


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Learning the Korn Shell
O'Reilly Media -
Learning the Korn Shell
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Learning the Korn Shell

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!