sum=0
for count in {1..100}
do
sum=$((sum+count))
done
echo $sum
count=1
sum=0
while $count -le 100
do
sum=$((sum+count))
count=$((count+1))
done
echo $sum
count=1
sum=0
until $count -gt 100
do
sum=$((sum+count))
count=$((count+1))
done
echo $sum
read -p "filename:" filename
if [ -f "$filename" ]
then
cp $filename ~/test
fi
for stra in `cat a.txt`
do
for strb in `cat b.txt`
do
if [ "$stra" -eq "$strb" ]
then
echo $stra >> c.txt
echo "$stra"
fi
done
done