To clear the terminal screen or current shell window, use the clear command. As soon as the terminal type environment is started, it uses the terminfo database to retrieve and clear the screen. You can erase any active sessions that have taken place while you are away from the computer. If your current session does not have any active history, you can use history -c. How do you clear the history terminal in OS X? Create a new History and delete the current session’s history. Another way is to use the history command and then clear the history file. This can be done by using the rm command. One way is to simply clear the history file that is stored on your computer. If you are using a Mac and would like to clear your history in the Terminal, there are a few different ways that you can do this.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |