[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Repeat last n commands
From: |
Julius Hamilton |
Subject: |
Repeat last n commands |
Date: |
Mon, 27 Sep 2021 16:32:55 +0200 |
Hey,
Sometimes I am writing a method in a live Python shell (respectively in
Termux, which uses Bash) and I make a mistake and the method definition is
cancelled and I'd like to redo all executed lines up to the erroneous one.
I believe that the ability to re-execute the last n lines would be part of
bash rather than Python, is that correct?
Is there any such command?
Thanks very much,
Julius
- Repeat last n commands,
Julius Hamilton <=