Description: Scripting by Michael Kofler Developers and admins, its time to simplify your workday. With this practical guide, use scripting to solve tedious IT problems with less effort and less code! Learn about popular scripting languages: Bash, PowerShell, and Python. Master important techniques such as working with Linux, cmdlets, regular expressions, JSON, SSH, Git, and more. FORMAT Paperback CONDITION Brand New Publisher Description Developers and admins, its time to simplify your workday. With this practical guide, use scripting to solve tedious IT problems with less effort and less code! Learn about popular scripting languages: Bash, PowerShell, and Python. Master important techniques such as working with Linux, cmdlets, regular expressions, JSON, SSH, Git, and more. Use scripts to automate different scenarios, from backups and image processing to virtual machine management. Discover whats possible with only 10 lines of code! In this book, youll learn about:a. Scripting Languages Beginners, get the crash course you need in Bash (and its alternative, Zsh), PowerShell, and Python syntax to perform scripting tasks. b. Scripting Techniques Learn to write successful scripts by following expert guidance and practical examples. Use commands for processing text files, functions for handling JSON and XML files, Cron for automating script execution, SSH for running code, and more. c. Scripting ExamplesSee scripting in action! Walk through concrete applications of scripting: data backup, image processing, web scraping, REST APIs, database maintenance, cloud scenarios, and virtual machine administration. Highlights include: 1) Bash and Zsh 2) Linux toolbox3) PowerShell and CmdLets 4) Python and pip5) JSON, XML, and INI6) SSH, VS Code, and Git7) Automation with Cron8) Backup automation9) Image processing10) Web scraping11) Cloud scripting 12) Virtual machines Author Biography Dr. Michael Kofler is a programmer and Linux administrator. He studied electrical engineering/telematics at Graz University of Technology. He has been one of the most successful and versatile computing authors in the German-speaking world for many years. His current topics include Linux, Docker, Git, hacking and security, Raspberry Pi, and the programming languages Swift, Java, Python, and Kotlin. Michael Kofler also teaches at the Joanneum University of Applied Sciences in Kapfenberg, Austria. Table of Contents ... Preface ... 23... Bash, PowerShell, or Python? ... 23... About This Book ... 24PART I ... Scripting Languages ... 271 ... Scripting: Doing One Thing ... 291.1 ... What Does Scripting Mean? ... 291.2 ... Scripting Languages ... 311.3 ... The Agony of Choice ... 352 ... Ten Times Ten Lines ... 392.1 ... Markdown Spell Checker (Bash) ... 392.2 ... Sorting Images by Date (PowerShell) ... 402.3 ... Converting a JSON File to XML Format (Python) ... 412.4 ... Daily Server Backups (Bash) ... 422.5 ... Web Scraping (Python) ... 432.6 ... Logging Weather Data (Python) ... 442.7 ... Microsoft Hyper-V Cleanup (PowerShell) ... 452.8 ... Statistical Analysis of a Logging File (Bash) ... 462.9 ... Uploading Files to the Cloud (PowerShell) ... 462.10 ... Cloning Virtual Machines (Bash) ... 473 ... Bash and Zsh ... 493.1 ... Terminal, Shell, and Bash ... 493.2 ... Installation ... 503.3 ... Running Commands Interactively ... 533.4 ... Zsh as an Alternative to Bash ... 563.5 ... The First Bash Script ... 583.6 ... Running Commands ... 633.7 ... Standard Input and Standard Output ... 663.8 ... Globbing, Brace Extension, and Handling File and Directory Names ... 683.9 ... Variables ... 723.10 ... Strings ... 773.11 ... Branches ... 853.12 ... Loops ... 913.13 ... Functions ... 953.14 ... Error Protection ... 964 ... PowerShell ... 994.1 ... Installation ... 994.2 ... Windows Terminal ... 1034.3 ... Calling cmdlets and Functions ... 1064.4 ... Combining Commands ... 1124.5 ... The First Script ... 1144.6 ... Variables, Strings, and Objects ... 1204.7 ... Arrays and Hash Tables ... 1314.8 ... Output Redirection ... 1334.9 ... Loops ... 1374.10 ... Branches ... 1394.11 ... Functions and Parameters ... 1414.12 ... Modules ... 1474.13 ... Error Protection ... 1495 ... Python ... 1535.1 ... Installing Python ... 1535.2 ... Getting to Know Python in a Terminal Window ... 1565.3 ... Programming Custom Scripts ... 1575.4 ... Elementary Syntax Rules ... 1585.5 ... Numbers ... 1605.6 ... Strings ... 1625.7 ... Lists ... 1695.8 ... Tuples, Sets, and Dictionaries ... 1715.9 ... Variables ... 1745.10 ... Operators ... 1785.11 ... Branches (if) ... 1805.12 ... Loops (for and while) ... 1815.13 ... Functions ... 1875.14 ... Processing Text Files ... 1925.15 ... Error Protection ... 1955.16 ... System Functions ... 1955.17 ... Modules ... 1985.18 ... Installing Additional Modules Using pip ... 199PART II ... Work Techniques and Tools ... 2056 ... Linux Toolbox ... 2076.1 ... Directories and Files ... 2076.2 ... Finding Files ... 2096.3 ... Compressing and Archiving Files ... 2106.4 ... Using Root Privileges ... 2126.5 ... Software Installation ... 2186.6 ... Other Commands ... 2207 ... cmdlets for PowerShell ... 2237.1 ... Directories and Files ... 2237.2 ... Finding Files ... 2277.3 ... Compressing and Archiving Files ... 2307.4 ... Process Management ... 2327.5 ... Registration Database and System Information ... 2357.6 ... Processing cmdlet Results ... 2387.7 ... Other cmdlets ... 2437.8 ... Installing Additional Modules ... 2437.9 ... Standard Aliases ... 2468 ... Analyzing Texts with Filters and Pipes ... 2498.1 ... grep, sort, cut, and uniq ... 2498.2 ... Example: Statistical Data Analysis ... 2568.3 ... Example: ping Analysis ... 2588.4 ... Example: Apache Log Analysis ... 2608.5 ... CSV Files ... 2639 ... Regular Expressions ... 2679.1 ... Syntax Rules for Regular Expressions ... 2689.2 ... Groups and Alternatives ... 2709.3 ... Regular Expressions in Bash (grep, sed) ... 2769.4 ... Regular Expressions in PowerShell ... 2809.5 ... Regular Expressions in Python (re Module) ... 28310 ... JSON, XML, and INI ... 28710.1 ... JSON in PowerShell ... 28710.2 ... JSON and Python ... 29010.3 ... JSON in Bash ... 29510.4 ... XML in PowerShell ... 29810.5 ... XML and Python ... 30210.6 ... XML in Bash ... 30510.7 ... INI Files ... 30711 ... Running Scripts Automatically ... 30911.1 ... cron ... 30911.2 ... Example: Web Server Monitoring ... 31311.3 ... Microsoft Windows Task Scheduler ... 31511.4 ... Example: Saving Exchange Rates ... 31911.5 ... Tracking File System Changes ... 32012 ... SSH ... 32312.1 ... Installing the SSH Client and Server ... 32312.2 ... Working with SSH ... 32712.3 ... scp and rsync ... 33212.4 ... SSH Authentication with Keys ... 33312.5 ... Example: Uploading Images to a Linux Web Server ... 33612.6 ... Example: Analyzing Virtual Machines ... 33913 ... Visual Studio Code ... 34113.1 ... Introduction ... 34113.2 ... Language-Specific VS Code Extensions ... 34313.3 ... Remote – SSH Extension ... 34514 ... Git ... 34714.1 ... Git Crash Course ... 34814.2 ... Handling Settings and Passwords Correctly ... 35514.3 ... Git Automation ... 35814.4 ... Git Hooks ... 360PART III ... Applications and Examples ... 36315 ... Backups ... 36515.1 ... Synchronizing Directories to External Storage ... 36515.2 ... WordPress Backup ... 37015.3 ... SQL Server Backup ... 37216 ... Image Processing ... 37516.1 ... Manipulating Image Files ... 37516.2 ... Sorting Photos by Date Taken ... 37916.3 ... Converting Exif Metadata to SQL Commands ... 38217 ... Web Scraping ... 38917.1 ... Limitations ... 38917.2 ... Web Scraping, Web Crawling, and Data Mining ... 39017.3 ... Downloading Websites Using wget ... 39017.4 ... Web Scraping with Regular Expressions ... 39317.5 ... Web Scraping with Beautiful Soup ... 39517.6 ... Web Scraping with Requests-HTML ... 39917.7 ... Web Scraping with PowerShell ... 40118 ... Using REST APIs ... 40518.1 ... Tools ... 40518.2 ... Sample APIs to Try Out ... 40618.3 ... Implementing Custom REST APIs ... 40618.4 ... curl and wget ... 40618.5 ... Using REST APIs in PowerShell ... 41118.6 ... Example: Determining the Current Weather ... 41318.7 ... Using REST APIs in Python ... 41418.8 ... Example: Determining Electricity Prices and Displaying Them Graphically ... 41619 ... Databases ... 42119.1 ... Updating and Maintaining Databases ... 42219.2 ... Creating a New Customer Account ... 42319.3 ... Storing Exif Metadata in a Database ... 42619.4 ... Importing JSON Data into a Table ... 42920 ... Scripting in the Cloud ... 43320.1 ... AWS CLI ... 43320.2 ... Example: Uploading Encrypted Backup Files to the Cloud ... 43820.3 ... AWS PowerShell Module ... 43920.4 ... Example: Offloading Large Files from a Website to the Cloud ... 44221 ... Virtual Machines ... 44721.1 ... Setting Up and Running Virtual Machines (KVMs) ... 44721.2 ... Automating the Network Configuration (KVMs) ... 45021.3 ... Controlling Hyper-V ... 453... The Author ... 459... Index ... 461 Details ISBN1493225561 Author Michael Kofler Year 2024 ISBN-13 9781493225569 Format Paperback Publication Date 2024-03-26 Country of Publication United States US Release Date 2024-03-26 Pages 470 Subtitle Automation with Bash, PowerShell, and Python Audience Professional & Vocational Place of Publication Maryland DEWEY 005.13 Publisher Rheinwerk Publishing Inc. Imprint Rheinwerk Computing We've got this At The Nile, if you're looking for it, we've got it. With fast shipping, low prices, friendly service and well over a million items - you're bound to find what you want, at a price you'll love! TheNile_Item_ID:159651598;
Price: 78.55 AUD
Location: Melbourne
End Time: 2024-11-29T03:50:57.000Z
Shipping Cost: 0 AUD
Product Images
Item Specifics
Restocking fee: No
Return shipping will be paid by: Buyer
Returns Accepted: Returns Accepted
Item must be returned within: 30 Days
Format: Paperback
ISBN-13: 9781493225569
Author: Michael Kofler
Type: Does not apply
Book Title: Scripting
Language: Does not apply