Scripting: Automation with Bash, Powershell, and Python

Kofler, Michael

  • 出版商: SAP PRESS
  • 出版日期: 2024-03-26
  • 售價: $1,860
  • 貴賓價: 9.5$1,767
  • 語言: 英文
  • 頁數: 470
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1493225561
  • ISBN-13: 9781493225569
  • 相關分類: PowershellPython程式語言
  • 下單後立即進貨 (約1週~2週)

商品描述

Developers and admins, it's 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 what's possible with only 10 lines of code!

In this book, you'll 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 Examples
See 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 toolbox
3) PowerShell and CmdLets
4) Python and pip
5) JSON, XML, and INI
6) SSH, VS Code, and Git
7) Automation with cron
8) Backup automation
9) Image processing
10) Web scraping
11) Cloud scripting
12) Virtual machines

商品描述(中文翻譯)

開發人員和系統管理員,現在是簡化你們工作日的時候了。這本實用指南將教你如何使用腳本來解決繁瑣的IT問題,減少工作量和程式碼量!學習流行的腳本語言:Bash、PowerShell和Python。掌握重要的技巧,如處理Linux、cmdlets、正則表達式、JSON、SSH、Git等。使用腳本自動化不同的場景,從備份和圖像處理到虛擬機管理。發現只需10行程式碼就能實現的可能性!

在這本書中,你將學到以下內容:

a. 腳本語言
初學者可以通過學習Bash(以及它的替代品Zsh)、PowerShell和Python的語法來進行腳本任務的速成課程。

b. 腳本技巧
通過專家指導和實際示例,學習撰寫成功的腳本。使用命令處理文本文件,使用函數處理JSON和XML文件,使用cron自動執行腳本,使用SSH運行程式碼等。

c. 腳本示例
看腳本如何實際應用!深入了解腳本的具體應用:數據備份、圖像處理、網頁抓取、REST API、數據庫維護、雲端場景和虛擬機管理。

重點包括:

1) Bash和Zsh
2) Linux工具箱
3) PowerShell和CmdLets
4) Python和pip
5) JSON、XML和INI
6) SSH、VS Code和Git
7) 使用cron進行自動化
8) 備份自動化
9) 圖像處理
10) 網頁抓取
11) 雲端腳本
12) 虛擬機器