enter image description here

Whenever I open a new terminal 2 lines of Past run code are displayed on the top, and I am able to remove them with reset and clear but it's just for that terminal, if I open another terminal it is being displayed and continues to display whenever I open a new terminal. Please refer the picture for better understanding.

  • Welcome to AskUbuntu! Could you please edit your question with the following information? What version of Ubuntu are you using? What version of rbenv is installed, and have you attempted a purge and install cycle of the software?
    – David
    Apr 23, 2020 at 8:16
  • 2
    Those likely aren't "past run commands" - they're things in your ~/.bashrc or similar shell initialization file that are being run again each time you open a new terminal Apr 23, 2020 at 10:37

1 Answer 1


You need to check if you have any lines that mkdir within your ~/.bashrc file or ~/.profile file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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