#!/usr/bin/env sh echo "hello world!" sleep 0.4 echo "ohno" &1>2 sleep 0.4 echo "hello world 2!" sleep 0.4 echo "ohno 2" &1>2