My Account Log in

3 options

Beginning shell scripting / Eric Foster-Johnson, John C. Welch, and Micah Anderson.

Ebook Central Academic Complete Available online

View online

Ebook Central College Complete Available online

View online

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Foster-Johnson, Eric.
Contributor:
Welch, John C., 1967-
Anderson, Micah, 1974-
Series:
Programmer to programmer.
Programmer to programmer
Language:
English
Subjects (All):
Operating systems (Computers).
Physical Description:
1 online resource (530 p.)
Edition:
1st edition
Place of Publication:
Indianapolis, IN : Wiley Pub., 2005.
Language Note:
English
System Details:
text file
Summary:
Covering all major platforms-Linux, Unix, Mac OS X, and Windows-this guide shows programmers and power users how to customize an operating system, automate commands, and simplify administration tasks using shell scriptsOffers complete shell-scripting instructions, robust code examples, and full scripts for OS customizationCovers shells as a user interface, basic scripting techniques, script editing and debugging, graphing data, and simplifying administrative tasksIn addition to Unix and Linux scripting, the book covers the latest Windows scripting techniques and offers a co
Contents:
Beginning Shell Scripting; About the Authors; Credits; Contents; Introduction; Whom This Book Is For; What Does This Book Cover?; How This Book Is Structured; What Do You Need to Use This Book?; Conventions; Errata; p2p.wrox.com; Chapter 1: Introducing Shells; What Is a Shell?; Why Use Shells?; What Kind of Shells Are There?; How Do Shells Fit into a Graphical Environment?; Entering Commands; Command Editing; Working with Wildcards; Running Commands in the Background; Summary; Chapter 2: Introducing Shell Scripts; What Are Shell Scripts?; Alternatives to Shells: Other Scripting Languages
Tools to Edit Shell ScriptsWriting Scripts; Summary; Exercises; Chapter 3: Controlling How Scripts Run; Referencing Variables; Looping and Iteration; Checking Conditions with if; Nesting if Statements; Testing with the test Command; Making Complex Decisions with case; Looping While a Condition Is True; Looping Until a Condition Is True; Summary; Exercises; Chapter 4: Interacting with the Environment; Examining Environment Variables; Customizing Your Account; Handling Command-Line Arguments; Making Scripts Executable; Summary; Exercises; Chapter 5: Scripting with Files
Combining Files into ArchivesWorking with File Modes; Testing Files with the test Command; Dealing with Mac OS X Files; HFS+ Versus UFS: The Mac OS X Holy War; Working with Here Files and Interactive Programs; Summary; Exercises; Chapter 6: Processing Text with sed; Introducing sed; sed Versions; Installing sed; How sed Works; Selecting Lines to Operate On; Substitution; Advanced sed Invocation; Advanced Addressing; Advanced Substitution; Hold Space; More sed Resources; Summary; Exercises; Chapter 7: Processing Text with awk; What Is awk (Gawk/Mawk/Nawk/Oawk)?; How awk Works; Invoking awk
The print CommandUsing Variables in awk; Control Statements; Functions; Resources; Summary; Exercises; Chapter 8: Creating Command Pipelines; Working with Standard Input and Output; Piping Commands; Summary; Exercises; Chapter 9: Controlling Processes; Exploring Processes; Launching Processes; Capturing the Output of Processes; Summary; Exercises; Chapter 10: Shell Scripting Functions; Defining Functions; Using Functions; Using Arguments with Functions; Using Return Codes with Functions; Variable Scope: Think Globally, Act Locally; Understanding Recursion; Summary; Exercises
Chapter 11: Debugging Shell ScriptsDeciphering Error Messages; Tracking Down Problems with Debugging Techniques; Running Scripts in Debugging Mode; Avoiding Errors with Good Scripting; Summary; Exercises; Chapter 12: Graphing Data with MRTG; Working with MRTG; Monitoring Other Data with MRTG; Installing MRTG; Writing Scripts for MRTG; Configuring MRTG; Running MRTG; Monitoring Your Computer with MRTG; Monitoring Networks with MRTG; Monitoring Applications with MRTG; Summary; Exercises; Chapter 13: Scripting for Administrators; Why Write Scripts?; Scripting Complicated Commands
Troubleshooting Your Systems
Notes:
Includes index.
ISBN:
9786610255832
9781280255830
1280255838
9780764597916
0764597914
OCLC:
271808589

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account