Timeline for How to delete history of last 10 commands in shell?
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2016 at 9:37 | comment | added | Anthony Geoghegan |
I rejected Binod's suggested edit as it's not a logical error. Ghassan's original code uses the same approach as Barmar's answer – which works. The comments to Barmar's answer explain why the suggestion of replacing 1800 with $line deletes every other line and then exceeds the desired range.
|
|
Apr 13, 2016 at 9:32 | history | edited | Anthony Geoghegan | CC BY-SA 3.0 |
fix the wrong edit that I had rejected in review but another editor had accepted
|
Apr 13, 2016 at 9:23 | comment | added | Binod Kalathil | I made an update but still not working correctly in Ubuntu 12.04.. :( It looks like the line number part is not working correctly | |
S Apr 13, 2016 at 9:11 | history | edited | SLePort | CC BY-SA 3.0 |
Corrected logical error
|
S Apr 13, 2016 at 9:11 | history | suggested | Binod Kalathil | CC BY-SA 3.0 |
Corrected logical error
|
Apr 13, 2016 at 9:00 | review | Suggested edits | |||
S Apr 13, 2016 at 9:11 | |||||
Feb 26, 2016 at 11:08 | review | Late answers | |||
Feb 26, 2016 at 11:09 | |||||
Feb 26, 2016 at 10:50 | history | answered | Ghassan Zein | CC BY-SA 3.0 |