diff --git a/2l.sh b/2l.sh new file mode 100755 index 0000000..ef47bdd --- /dev/null +++ b/2l.sh @@ -0,0 +1,13 @@ +#!/bin/bash +# Read the contents of the file flag.txt using only 2 letter commands + +while true; do + echo -n "$ " + read input + + if [ ${#input} -eq 2 ]; then + eval "$input" + else + echo "Command is not 2 characters!" + fi +done