#!/bin/sh -v freebsd-version uptime ps aux id env which awk which node which perl which python3 which ruby # fizzbuzz for i in `seq 1 30` do if [ `expr $i % 2` -eq 0 ] && [ `expr $i % 5` -eq 0 ]; then echo "fizzbuzz" elif [ `expr $i % 2` -eq 0 ]; then echo "fizz" elif [ `expr $i % 5` -eq 0 ]; then echo "buzz" else echo $i fi done