Chapter 25. Given a scenario, deploy and execute basic BASH scripts

This chapter provides information and commands concerning the following topics:

Shell environments and shell variables

#!/ bin/bash

Sourcing scripts

Directory and file permissions (chmod)

Extensions

Commenting (#)

File globbing

Shell expansions

Redirection and piping

Exit codes

Metacharacters

Positional parameters

Looping constructs

Conditional statements

Escaping characters

Shell Environments and Shell Variables

Shell variables are used to store information. This information is used to modify the behavior of the shell itself or external commands. The following table ...

Get CompTIA Linux+ Portable Command Guide: All the commands for the CompTIA XK0-004 exam in one compact, portable resource, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.