Search This Blog

Wednesday, April 15, 2009

clear terminal using echo command

[clear the terminal]
echo -e "\033c"

[move cursor to 1st line]
echo -e "\033[1;5r"

No comments:

Post a Comment