RosettaCodeData/Task/Terminal-control-Preserve-screen/UNIX-Shell/terminal-control-preserve-screen.sh

6 lines
126 B
Bash
Raw Permalink Normal View History

2013-04-11 01:07:29 -07:00
#!/bin/sh
tput smcup # Save the display
echo 'Hello'
sleep 5 # Wait five seconds
tput rmcup # Restore the display