Calculate the Fibonacci sequence using bash
What does "Term" mean? I'd prefer to see 5 numbers if the user entered 5.

#!/bin/bash

echo -n 'Term: '
read term

i=0
j=1
for (( c=0; c&lt;term; c++ )) ; do
    (( n=i+j ))
    (( i=j ))
    (( j=n ))
    echo $i
done