10 lines
176 B
Bash
10 lines
176 B
Bash
|
#!/bin/bash
|
||
|
echo "Write 'yes do as i say' to confirm that you REALLY want to do this: $@"
|
||
|
read
|
||
|
if [[ "${REPLY,,}" = "yes do as i say" ]]
|
||
|
then
|
||
|
eval $@
|
||
|
else
|
||
|
echo "aborting"
|
||
|
fi
|