This file contains hidden or 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 | |
# FILE="/tmp/out.$$" | |
# GREP="/bin/grep" | |
# Make sure only normal users can run our script since we have sudos in the commands. | |
if [ "$(id -u)" == "0" ]; then | |
echo "This script must be run as a normal user" 1>&2 | |
exit 1 | |
fi |