#!/bin/sh cd $1 shift $* && echo "Execution completed" || echo "Execution failed"