#!/bin/bash if [ "$#" -ne 1 ] then printf "Usage: %s \n" "$0" exit 1 fi gnome-terminal -- bash ./scripts/scan.sh "$1" gnome-terminal -- bash ./scripts/read.sh "$1"