pause function can be easily implemented in bash by read function.

#!/bin/bash

function pause()
{
	read -s -n 1 -p "Press any key to continue . . ."
	echo ""
}
 
## Pause it ##
pasue
 
## rest of script below