spinner Code.
This commit is contained in:
5
really-long-command
Executable file
5
really-long-command
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
#! /usr/bin/env bash
|
||||||
|
|
||||||
|
sleep 4
|
||||||
|
echo "Ende langes Kommando"
|
||||||
|
|
||||||
10
spinner.sh
Executable file
10
spinner.sh
Executable file
@@ -0,0 +1,10 @@
|
|||||||
|
#! /usr/bin/bash
|
||||||
|
|
||||||
|
|
||||||
|
for c in '/' '|' '\' '-'; do
|
||||||
|
printf "\r%s" "${c}"
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo 'done'
|
||||||
Reference in New Issue
Block a user