Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Code Blockexcerpt

pause

function

can

be

easily

implemented

in

bash

by

read

function.


Code Block
#!/bin/bash

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

...