You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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



  • No labels