Skip to content

Instantly share code, notes, and snippets.

@jackbdu
jackbdu / batch-traceroute.sh
Last active September 19, 2024 04:24
Initiating traceroute to a list of hosts specified in hosts.txt and logging the outputs to separate files for each host.
#!/bin/bash
# -----------------------------------------------------------------------------
# Script: batch-traceroute.sh
# Description: A script to run multiple traceroutes in the background, track their
# completion status, and log the results with timestamps.
#
# Created by: Jack B. Du ([email protected])
# with help from OpenAI ChatGPT
# Date: Sept 18, 2024
# -----------------------------------------------------------------------------