Hello,
Usually people use "curses" for that.
You can watch the source code of some applications that use it to get detailed examples.
Usually its used in C programs but there are bindings to other languages (I know iotop uses it in python for example).
But you can do it 'as well' in a shell script although it might be somewhat slow, but if it's only for a little script of your own, why not. In that case, tput can help you. An small example :
Code:
tput clear
tput cup 10 10
echo "Hello"
tput cup 11 16
echo "World"
you can read the man page to get some extra information.
Hope this helps.