This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Path to the commands file | |
COMMANDS_FILE=~/commands.txt | |
# Check if the commands file exists | |
if [[ ! -f $COMMANDS_FILE ]]; then | |
echo "Commands file not found!" | |
exit 1 | |
fi |