diff --git a/really-long-command b/really-long-command new file mode 100755 index 0000000..e583ecf --- /dev/null +++ b/really-long-command @@ -0,0 +1,5 @@ +#! /usr/bin/env bash + +sleep 4 +echo "Ende langes Kommando" + diff --git a/spinner.sh b/spinner.sh new file mode 100755 index 0000000..2af47b4 --- /dev/null +++ b/spinner.sh @@ -0,0 +1,10 @@ +#! /usr/bin/bash + + +for c in '/' '|' '\' '-'; do + printf "\r%s" "${c}" + sleep 1 +done + +echo +echo 'done'