Skip to content

Instantly share code, notes, and snippets.

@wem3
Created January 23, 2015 20:05
Show Gist options
  • Save wem3/fe71f80f447e87768a31 to your computer and use it in GitHub Desktop.
Save wem3/fe71f80f447e87768a31 to your computer and use it in GitHub Desktop.
# find specified file or crash out
{
if [ ! -f /path/file ]; then
echo "File not found!"
exit 0
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment