blob: e13941f5c68a05a33c230c721212168d4a37d370 (
plain) (
tree)
|
|
#!/bin/bash
# We want to log stuff on a text file when there are interesting commands or snippets on the command line
LOGFILE=/home/lemon/ownCloud/Textnotes/commandline_stuff.txt
if [ $# -ne 1 ]; then
echo "You need to include a fucking string. Your message?"
exit 1
fi
echo $1
echo $1 >> $LOGFILE
echo "Ok, I've written that to the end of $LOGFILE."
|