All tools

Scripting & Automation

Bash / POSIX Shell

Shell scripting for glue logic, loops over targets, and quick ops.

beginner
Linux
macOS
Prep & Scope
Post-Exploitation

Authorized testing only. Practice on systems you own, isolated labs, or targets with written permission. Unauthorized access is illegal.

When

Pipelines of CLI tools and remote Linux automation.

How

Write scripts with set -euo pipefail; parse with awk/jq; schedule with cron.

Why

Shell fluency multiplies every CLI tool you learn.

Commands & usage

for ip in $(cat hosts.txt); do nmap -sV $ip -oA scans/$ip; done
#!/usr/bin/env bash
set -euo pipefail

Commands are educational examples. Adapt hosts, paths, and rates to your authorized scope.

Tags

scripting
linux
essential

Related in Scripting & Automation