#!/bin/bash SCRIPT=$(readlink -f "$0") DIR=$(dirname "$SCRIPT") cd $DIR mkdir -p ../__data__/ curl localhost:8000 > ../__data__/data.out