Skip to content

Instantly share code, notes, and snippets.

@chadsten
Forked from aadouglass/bashtesting.sh
Last active March 28, 2016 16:49
Show Gist options
  • Save chadsten/f0446ed38ef479646ed7 to your computer and use it in GitHub Desktop.
Save chadsten/f0446ed38ef479646ed7 to your computer and use it in GitHub Desktop.
#!/bin/bash
bashSource="data/file.txt"
if [ -e $bashSource ]; then
echo $bashSource "File exists!"
else
echo $bashSource "File does not exist!"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment