Timeline for How to delete history of last 10 commands in shell?
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 24, 2019 at 15:25 | comment | added | devwebcl |
it must be: for i in {511..520}; do history -d $i; echo "history -d 511"; done
|
|
Sep 24, 2019 at 13:19 | comment | added | devwebcl | and it cannot be the lastest in the history list, otherwise: "history position out of range" | |
Jan 15, 2019 at 13:34 | history | edited | Chris Walsh | CC BY-SA 4.0 |
formatting
|
Jan 15, 2019 at 8:19 | comment | added | Markoorn | That assumes he has already listed the history and knows all IDs beforehand | |
S Jan 15, 2019 at 8:15 | review | Low quality answers | |||
Jan 15, 2019 at 13:34 | |||||
S Jan 15, 2019 at 8:15 | review | Late answers | |||
Jan 15, 2019 at 8:19 | |||||
Jan 15, 2019 at 7:55 | history | answered | rb1234 | CC BY-SA 4.0 |