248 B
248 B
title, tags
| title | tags | |
|---|---|---|
| Making Scripts |
|
Make a script for your regular shell commands.
name=look
echo '#!/bin/sh > ${name}.sh
echo 'echo "This script is called $0"'
chmod u+x !$
./!$
Notice the single-quotes, not double quotes.