Cheap domain hosting, cheap domain names & web page promotion services
  

 Home

Red Hat Linux 9: Red Hat Linux Getting Started Guide
PrevChapter 13. Shell Prompt BasicsNext

13.8. Clearing and Resetting the Terminal

After even one ls command in a shell prompt, the terminal window you are working in can begin to look crowded. You can always exit from the terminal window and open a new one, but there is a quicker and easier way to clear the contents displayed in the terminal.

Try typing the command clear at the shell prompt. The clear command does just what it implies: it clears the terminal window.

Sometimes, you may accidentally open a program file or some other non-text file in a terminal window. Once you close the file, you could find that the text you are typing does not match the output on the monitor.

In such cases, type reset to return the terminal window to its default values.


PrevHomeNext
Printing From The Command LineUpManipulating Files with cat
 

 

 

 
 

Disclaimer: For authoritative source or latest update to this documentation, please refer to http://www.redhat.com/docs/manuals/linux/

 

 
Quotes: True knowledge exists in knowing that you know nothing. And in knowing that you know nothing, that makes you the smartest of all.