Computer Science Fundamentals
Operating Systems
Subjective
Mar 12, 2013
How should user clear his screen in UNIX system?
Detailed Explanation
There are two command in UNIX system to clear your screen—clear and tput
‘Clear’ is used to clear the screen and cursor is positioned at the top left corner of the screen
‘tput’ is used with clear argument to clear the screen and with cup argument to position cursor at desired location.
Syntax—
<prompt>clear
<prompt>tput clear
<prompt>tput cup 10 10
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts