| Excerpt |
|---|
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 |
| Excerpt |
|---|
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 |