#!/bin/bash # removes the first arg from $@, which is always the filename shift # runs the executable with whatever args are left in $@ ./out "$@"