Horje
sum of array elements bash Code Example
sum of array elements bash
read -a array
tot=0
for i in ${array[@]}; do
  let tot+=$i
done
echo "Total: $tot"




Shell

Related
ubuntu activate venv Code Example ubuntu activate venv Code Example
adb find device ip Code Example adb find device ip Code Example
find gradle version Code Example find gradle version Code Example
how to make a beep in cmd Code Example how to make a beep in cmd Code Example
infinite loop bash Code Example infinite loop bash Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
15