Listing multiples of numbers using Bash
outline
Using Bash, make list of multiples of numbers.
example 1 (3, 5, 7)
#!/bin/bash
for i in $(seq 1 100); do
if (( i % 3 == 0 )); then
echo "Multiple of 3: $i"
fi
if (( i % 5 == 0 )); then
echo "Multiple of 5: $...
ktg0210.hashnode.dev1 min read