5

What command can I use to clear the history that appears in the lower left-hand corner of the Octave IDE?

1
  • 2
    I would like to know why you haven't found this yourself. If you type help history you'll see "'-c' Clear the history list." Also if you google for "gnu octave clear history" the first hit would show you how
    – Andy
    Commented Dec 3, 2016 at 17:59

2 Answers 2

18

Based on the documentation for history, you can use the -c flag to clear the current history

history -c
0
-1

The below command will be handy.

   clc; history -c
1
  • clc is irrelevant here. Rest is already posted by Suever. Please read the already posted answers before posting yours. Commented May 13, 2021 at 19:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.