Making Scripts

Make a script for your regular shell commands.

1name=look
2echo '#!/bin/sh > ${name}.sh
3echo 'echo "This script is called $0"'
4chmod u+x !$
5./!$

Notice the single-quotes, not double quotes.