bash Cookbook: Solutions and Examples for bash Users

Carl Albing, JP Vossen

  • 出版商: O'Reilly Media
  • 出版日期: 2017-11-03
  • 定價: USD $59.99
  • 售價: $2,100
  • 貴賓價: 9.5$1,995
  • 語言: 英文
  • 頁數: 726
  • 裝訂: Paperback
  • ISBN: 1491975334
  • ISBN-13: 9781491975336

立即出貨 (庫存 < 3)

商品描述

For system administrators, programmers, and end users, there are occasions when a simple (or not so simple) shell script can save you time and effort, or facilitate consistency and repeatability for a variety of common tasks. This cookbook provides more than 300 practical recipes for using bash, the popular Unix shell that enables you to harness and customize the power of any Unix or Linux system.

Ideal for new and experienced users alike—including proficient Windows users and sysadmins—this updated second edition helps you solve a wide range of problems. You’ll learn ways to handle input/output, file manipulation, program execution, administrative tasks, and many other challenges. Each recipe includes one or more scripting examples and a discussion of why the solution works.

You’ll find recipes for problems including:

  • Standard output and input, and executing commands
  • Shell variables, shell logic, and arithmetic
  • Intermediate shell tools and advanced scripting
  • Searching for files with find, locate, and slocate
  • Working with dates and times
  • Creating shell scripts for various end-user tasks
  • Working with tasks that require parsing
  • Writing secure shell scripts
  • Configuring and customizing bash