Skip to content

Instantly share code, notes, and snippets.

@harrtho
Created November 14, 2017 18:07
Show Gist options
  • Save harrtho/824e48fc0cce9a5ebdbad81d43e245f0 to your computer and use it in GitHub Desktop.
Save harrtho/824e48fc0cce9a5ebdbad81d43e245f0 to your computer and use it in GitHub Desktop.
if [ -f ~/file.txt ]; then
echo "File exists"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment