Oracle Shell Scripting
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Home > Computing and Information Technology > Operating systems > Oracle Shell Scripting: Linux and Unix Programming for Oracle
Oracle Shell Scripting: Linux and Unix Programming for Oracle

Oracle Shell Scripting: Linux and Unix Programming for Oracle


     0     
5
4
3
2
1



Out of Stock


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

With the expert techniques discussed in this book, Oracle database administrators can automate routine tasks to save time and money and better monitor the flow of work. Using shell scripts--an indispensable tool on UIX and Linux--any number of commands can be combined and executed either simultaneously or sequentially. More than 50 working shell scripts for both beginners and experts give Oracle professionals a fantastic head-start on automating their administration duties and are easily modifiable for any environment. Topics include the history of shells and shell scripting, detailed step-by-step instructions on building shell scripts, how to tell when things are working right, and how to effectively monitor the system for failures.

Table of Contents:
Chapter 1: UNIX and Shell Scripting Common Ground UNIX and its many flavors Why UNIX? What is a shell? sh bash and other shells The UNIX kernel Memory and swap Processes Files and file systems Why Shell Scripting? The shell Oracle and you When to script A warning about script bloat Building a shell script Chapter 2: Key Concepts Getting to your shell What shell am I in? Switching shells on-the-fly Differences between interactive and non-interactive modes Commands options arguments and input Shell Variables Conditions and if statements Loops Wildcards and Pattern Matching Relative and Absolute Paths Tilde the Short Way Home Permissions & Ownership Chapter 3: Setting up your environment Configuring your default shell Changing the Default Shell with usermod Changing Your Own Default Shell with the chsh Command Entering a shell bash Shell Login Behavior Bourne Shell Login Behavior Non-Interactive Shell Behavior Setting Your Command Prompt Basic Command Prompts Special Prompt Characters Variables and Commands in Prompts Setting Up the Binary Path The Manual Path The Library Path Aliases Keeping your scripts organized The .forward file Default Permissions and umask Chapter 4: Key tools man - The Online Manual Pages Text Editors Command-line and Graphical Editors -- In Brief vi - The Visual Editor Manipulating Text Searching with grep More Complex Searches with egrep sed Text Substitution Breaking Out Columns with cut Using awk to Find Just What You Need Sort - Get Things in Order View the Beginning or End of a File Counting Characters Words and Lines with wc Managing Processes Stopping the Current Process Finding and Stopping Other Processes Viewing running processes with ps Ending running processes with the kill command pgrep and pkill Examining how long a command takes Job Control - Running Jobs in the Background Making sure things keep running with nohup File and Directory Ownership and Permissions Managing the owner and group of a file Managing File Permissions How Permissions Affect Directories Securing Important Files Manipulating Input and Output Redirecting Standard Input Redirecting Standard Output and Standard Error Linking Output to Input with Pipes Performing Math with expr Chapter 5: Simple Scripting Setting Up Your First Script The Significance of the Shebang Commenting Your Script Variables Variable Scope Variable Names Using Arguments in Your Script Prompting for Input Debugging Shell Scripts Place Temporary Markers in the Script Echo Variables to the Display Starting the Script in Debug Mode Chapter 6: Interacting with SQL*Plus Calling SQL Scripts from Shell Scripts Embedding SQL within a Shell Script Prompting for a password Reading a Password from a File Running shell commands from SQL*Plus Passing variables into SQL*Plus SQL Script Arguments Shell Variables and Embedded SQL Getting Information Out of SQL*Plus Chapter 7: Making Decisions Conditional Expressions Comparing Numbers Comparing Text Checking Files Combining Comparisons Making Simple Decisions with if and else Secondary Checks with elif Choosing from a list with case The while Loop The for Loop Breaking Out of Loops Nesting Loops Chapter 8: Checking and Reporting Results The Exit Status: The Unseen Result Setting the Exit Status of a Shell Script Setting the Exit Status for SQL*Plus Scanning Logs for Output Checking the Output of Commands Chapter 9: Making the Shell Behave Listing multiple commands on one line Conditional Execution Listing Long Commands on Multiple Lines Backslash as an Escape Character Single Quotes Double Quotes Back Quotes Exit a Shell Script Anytime Chapter 10: Making Scripts Run Automatically Scheduling Repeating Tasks with Cron The cron Daemon crontab Command Options The Format of the crontab File crontab Entries Scheduling One-Time Tasks with at Performing Tasks On Login Chapter 11: Reaching Further Transferring Files between Systems sftp - Secure FTP scp - Secure Copy Executing commands on another system Keep Directories in Sync with rsync Getting Past the Password Problem Executing Commands with Another User's Permissions Using su to become Another User Emailing from scripts Emailing System Users and the .forward File Emails from cron and at Jobs The mail command Chapter 12: Oracle Database Maintenance Monitoring and Maintaining the Alert Log Checking for Errors in the Alert Log Rotating the Alert Log Finding and removing old dump files Monitoring Tablespace Usage Clean Up Old Statspack Data Check Certain Database Accounts are Locked Cleaning Old Data Out of Tables Execute a SQL Script on Every Database Copy the TNSNames File to a List of Systems Chapter 13: Backup Scripts Cold Backups without RMAN Hot Backups without RMAN Hot Backups with RMAN Database and Schema Export Chapter 14: Oracle Database Monitoring Listener Availability Database Availability Monitor Free Space within Tablespaces Table is Writeable Readable or Other Specific SQL Check for Invalid Objects Chapter 15: Oracle Application Server Starting and Stopping Oracle Application Server Cleaning Up Web Server Log Files Starting and Stopping the Application Server Console Check Running OPMN Processes Chapter 16: Monitoring the System Checking the System Log Monitoring disk space Find the Size of a Directory Monitoring system load Save Load Averages in Oracle Gathering CPU Usage Statistics from sar Synchronize a Directory on Several Systems Chapter 17: Windows Scripting What's Different in Windows? Database Exports RMAN backups Running a SQL Script Other Scripting Options for Windows Scheduling Scripts in Windows

About the Author :
Jon Emmons is a UNIX systems administrator with many years of experience operating Oracle and publishing related Web resources. He lives in Concord, New Hampshire. Donald K. Burleson is the author of 30 Oracle-related books, including "Oracle Silver Bullets" and "Oracle Solid State Disk Tuning." He lives in Kittrell, North Carolina.


Best Sellers


Product Details
  • ISBN-13: 9780977671557
  • Publisher: Rampant Techpress
  • Publisher Imprint: Rampant Techpress
  • Height: 230 mm
  • Returnable: N
  • Width: 180 mm
  • ISBN-10: 0977671550
  • Publisher Date: 28 May 2007
  • Binding: Paperback
  • Language: English
  • Sub Title: Linux and Unix Programming for Oracle


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Oracle Shell Scripting: Linux and Unix Programming for Oracle
Rampant Techpress -
Oracle Shell Scripting: Linux and Unix Programming for Oracle
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.

Oracle Shell Scripting: Linux and Unix Programming for Oracle

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

    Fresh on the Shelf


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!