From 460cf2d25b995502869c3dac61fedf189a63574e Mon Sep 17 00:00:00 2001 From: raul Date: Mon, 13 Jan 2025 13:41:38 +0100 Subject: [PATCH] Add simple loading bar script --- loading.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 loading.sh diff --git a/loading.sh b/loading.sh new file mode 100755 index 0000000..71834ae --- /dev/null +++ b/loading.sh @@ -0,0 +1,11 @@ +#!/bin/bash +main () +{ + for ((i = 0; i < 101; i++)); do + printf "\rProgreso: $i%%" + sleep 0.05s + done + echo -e "\nHecho!" +} + +main