Wicked cool shell scripts : 101 scripts for Linux, OS X, and Unix systems /


by Dave Taylor and Brandon Perry.
Bok Engelsk 2017 · Electronic books.
Medvirkende
Perry, Brandon, (author.)
Omfang
1 online resource (402 pages) : : illustrations
Utgave
Second edition.
Opplysninger
Includes index.. - Intro -- Title Page -- Copyright Page -- About the Authors -- About the Technical Reviewer -- Brief Contents -- Contents in Detail -- Acknowledgments for the First Edition -- Acknowledgments for the Second Edition -- Introduction -- What to Take Away -- This Book Is for You If . . . -- Organization of This Book -- Finally . . . -- Chapter 0: A Shell Scripts Crash Course -- What Is a Shell Script, Anyway? -- Running Commands -- Configuring Your Login Script -- Running Shell Scripts -- Making Shell Scripts More Intuitive -- Why Shell Scripts? -- Let's Get Cracking -- Chapter 1: The Missing Code Library -- What Is POSIX? -- #1 Finding Programs in the PATH -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #2 Validating Input: Alphanumeric Only -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #3 Normalizing Date Formats -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #4 Presenting Large Numbers Attractively -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #5 Validating Integer Input -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #6 Validating Floating-Point Input -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #7 Validating Date Formats -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #8 Sidestepping Poor echo Implementations -- The Code -- Running the Script -- The Results -- Hacking the Script -- #9 An Arbitrary-Precision Floating-Point Calculator -- The Code -- How It Works -- Running the Script -- The Results -- #10 Locking Files -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #11 ANSI Color Sequences -- The Code.. - #72 Syncing Files with SFTP.. - How It Works -- Running the Script -- The Results -- Hacking the Script -- #12 Building a Shell Script Library -- The Code -- How It Works -- Running the Script -- The Results -- #13 Debugging Shell Scripts -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- Chapter 2: Improving on User Commands -- #14 Formatting Long Lines -- The Code -- How It Works -- Running the Script -- The Results -- #15 Backing Up Files as They're Removed -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #16 Working with the Removed File Archive -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #17 Logging File Removals -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #18 Displaying the Contents of Directories -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #19 Locating Files by Filename -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #20 Emulating Other Environments: MS-DOS -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #21 Displaying Time in Different Time Zones -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- Chapter 3: Creating Utilities -- #22 A Reminder Utility -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #23 An Interactive Calculator -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #24 Converting Temperatures -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #25 Calculating Loan Payments -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #26 Keeping Track of Events -- The Code.. - How It Works -- Running the Script -- The Results -- Hacking the Script -- Chapter 4: Tweaking Unix -- #27 Displaying a File with Line Numbers -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #28 Wrapping Only Long Lines -- The Code -- How It Works -- Running the Script -- The Results -- #29 Displaying a File with Additional Information -- The Code -- How It Works -- Running the Script -- The Results -- #30 Emulating GNU-Style Flags with quota -- The Code -- How It Works -- Running the Script -- The Results -- #31 Making sftp Look More Like ftp -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #32 Fixing grep -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #33 Working with Compressed Files -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #34 Ensuring Maximally Compressed Files -- The Code -- How It Works -- Running the Script -- The Results -- Chapter 5: System Administration: Managing Users -- #35 Analyzing Disk Usage -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #36 Reporting Disk Hogs -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #37 Improving the Readability of df Output -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #38 Figuring Out Available Disk Space -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #39 Implementing a Secure locate -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #40 Adding Users to the System -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #41 Suspending a User Account -- The Code -- How It Works.. - Running the Script -- The Results -- #42 Deleting a User Account -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #43 Validating the User Environment -- The Code -- How It Works -- Running the Script -- The Results -- #44 Cleaning Up After Guests Leave -- The Code -- How It Works -- Running the Script -- The Results -- Chapter 6: System Administration: System Maintenance -- #45 Tracking Set User ID Applications -- The Code -- How It Works -- Running the Script -- The Results -- #46 Setting the System Date -- The Code -- How It Works -- Running the Script -- The Results -- #47 Killing Processes by Name -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #48 Validating User crontab Entries -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #49 Ensuring that System cron Jobs Are Run -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #50 Rotating Log Files -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #51 Managing Backups -- The Code -- How It Works -- Running the Script -- The Results -- #52 Backing Up Directories -- The Code -- How It Works -- Running the Script -- The Results -- Chapter 7: Web and Internet Users -- #53 Downloading Files via FTP -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #54 Extracting URLs from a Web Page -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #55 Getting GitHub User Information -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #56 ZIP Code Lookup -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #57 Area Code Lookup -- The Code -- How It Works.. - Running the Script -- The Results -- Hacking the Script -- #58 Keeping Track of the Weather -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #59 Digging Up Movie Info from IMDb -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #60 Calculating Currency Values -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #61 Retrieving Bitcoin Address Information -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #62 Tracking Changes on Web Pages -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- Chapter 8: Webmaster Hacks -- Running the Scripts in This Chapter -- #63 Seeing the CGI Environment -- The Code -- How It Works -- Running the Script -- The Results -- #64 Logging Web Events -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #65 Building Web Pages on the Fly -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #66 Turning Web Pages into Email Messages -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #67 Creating a Web-Based Photo Album -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #68 Displaying Random Text -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- Chapter 9: Web and Internet Administration -- #69 Identifying Broken Internal Links -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script -- #70 Reporting Broken External Links -- The Code -- How It Works -- Running the Script -- The Results -- #71 Managing Apache Passwords -- The Code -- How It Works -- Running the Script -- The Results -- Hacking the Script.. - Useful and fun Linux, UNIX, and Mac OS X shell scripts.
Emner
Sjanger
Dewey
ISBN
1-4920-1832-5. - 1-59327-602-8. - 1-59327-783-0

Bibliotek som har denne