How do I delete all history in terminal?

Lượng Tiger

New member
How do I delete all history in terminal?
Answer
The procedure to delete terminal command history are as follows on Ubuntu:
  1. Open the terminal application.
  2. Type the following command to to clear bash history completely: history -c.
  3. Another option to remove terminal history in Ubuntu: unset HISTFILE.
  4. Log out and login again to test changes.
 

Tìm kiếm

Back
Top