Refacere repo

This commit is contained in:
Ionel Andrei Cataon
2026-02-12 14:14:46 +02:00
parent 002d53928a
commit ad4a4cf8f6
1059 changed files with 193216 additions and 1 deletions

20
Bash_scripting/while.sh Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/bash
x=1
while (( $x < "10" ))
do
echo "Valoarea lui x este: $x"
x=$(( x+1 ))
done
ar=(11 15 86 23 45 78)
Lenght=${#ar[@]}
echo "Lungimea array-ului este: $lenght"
ar=(32 10 132 32 5 7 43 104)
i=0
lenght=${#ar[@]}
while [ $i -lt $lenght ];
do
echo "Elementul $i din array este: ${ar[$i]}"
i=$(( i+1))
done