liveBook · Manning

Shell script

A shell script is a text program containing commands interpreted and executed by a command-line shell.

How 6 Manning books explain it

Practical Automation with PowerShell: Effective scripting from the console to the cloud

A script is a text-based program that contains instructions for an interpreter to execute.

How it is used
Automates repeatable operational work such as log cleanup, inventory collection, account checks, backups, and request processing.
How deep it goes
Develops phased design, parameters, functions, scheduling, execution placement, termination, deployment, and sharing rather than shell-language internals.
Examples
Uses log-file cleanup, virtual-machine provisioning, zero-touch ISO creation, client deployment, and module installation as concrete automations.
What you can do after
Apply it via PowerShell and schedulers to build reusable, deployable automations with explicit dependencies and execution constraints.

Read how Practical Automation with PowerShell: Effective scripting from the console to the cloud explains shell script →

Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform

A shell script is a text file containing commands interpreted and executed by a command-line shell.

How it is used
Automates repeated development commands and packages deployment steps for local testing and continuous deployment workflows.
How deep it goes
Works from a one-command script through executable permissions, environment configuration, and build, publish, and deployment scripts.
Examples
Uses a hello-world script, Compose shortcuts, and scripts that build, publish, deploy, and delete microservices.
What you can do after
Builds scripts from scratch to wrap commands and test deployment steps locally before running them in a workflow.

Read how Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform explains shell script →

The Quick Python Book, Fourth Edition

A shell script is a text program interpreted by a command shell to execute commands and control operating-system operations.

How it is used
Uses command-line scripts to pass arguments, redirect input and output, and process files.
How deep it goes
Shows Python script execution from a shell but does not develop shell-script syntax or control flow.
Examples
Runs a Python replacement script with two arguments and redirected input and output.
What you can do after
Operate Python scripts from a Windows command window or PowerShell with input and output redirection.

Read how The Quick Python Book, Fourth Edition explains shell script →

AI for Everyday IT

Bash is a Unix shell and command language used to execute commands and automate operating-system tasks.

How it is used
Uses shell scripts to automate system-administration commands across multiple servers.
How deep it goes
Works through script requirements, configuration, and a version-comparison function without teaching Bash syntax systematically.
Examples
Uses a kernel-version report and mentions log export, finding files, and disk-usage monitoring.
What you can do after
Apply it via ChatGPT to draft and configure a Bash script for checking kernel versions across servers.

Read how AI for Everyday IT explains shell script →

F# in Action: A Revised Edition of Get Programming with F#

A script is a source-code file intended for direct or interactive execution and reuse without requiring a full application project.

How it is used
Supports interactive exploration, reusable snippets, and small operational tasks that need not begin as full applications.
How deep it goes
Gives a procedural workflow for stateful exploration and an exercise for moving script code into an application; omits script execution commands.
Examples
Uses stored orders for repeated calculations, a driving function moved into a console application, and build or database-seeding utilities.
What you can do after
Practice/perform iterative exploration in FSI, then move useful code into an application or write small operational utilities.

Read how F# in Action: A Revised Edition of Get Programming with F# explains shell script →

The Complete Obsolete Guide to Generative AI

Bash is a command-line shell and scripting language for interacting with operating systems and executing shell programs.

How it is used
Automates repeated ChatPDF API requests for querying PDFs and generating topic-specific assessment questions.
How deep it goes
Demonstrates multiline curl commands, source IDs, line-by-line input, heredocs, variables, and command execution without explaining Bash broadly.
Examples
Uses PDF upload and querying, then a script that turns topic-file lines into multi-select assessment-question requests.
What you can do after
Apply it via curl and the ChatPDF API to submit a PDF and automate repeated prompt requests.

Read how The Complete Obsolete Guide to Generative AI explains shell script →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.