|
From: | L A Walsh |
Subject: | Re: history shows edited lines not the lines actually ran |
Date: | Sun, 17 Jun 2018 00:18:55 -0700 |
User-agent: | Thunderbird |
chris wrote:
On Sat, 16 Jun 2018, L A Walsh wrote:As for usefulness... haven't you ever had to type in a password on thecommand line? Or, at least had it be easier to do so, but I really don't likeleaving it in a file, so I usually scroll up to the line w/the password and just delete the line. Problem solved.I use history -d for that sort of thing.
--- I'd have to know the offset and the manpage doesn't specify if the offset is in bytes, lines or time difference. Offset from what? Whereas If I've just entered a line w/a PW on it, I'm right there...just scroll up, and delete it and I know I got the right line, if you type in an offset, it seems like you might not really know if you got it or now -- maybe, but the visual feedback seems more immediate.
[Prev in Thread] | Current Thread | [Next in Thread] |