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

Compare with Current View Page History

Version 1 Next »

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