Sunday, July 26, 2015

Bourne Shell Cookbook

Bourne Shell Scripting Cookbook for the masses

1) Numeric for loop
#!/bin/bash
N=10
for (( c=$N; c>0; c-- ))
do
    echo "Counting $c times"
done

No comments:

Post a Comment