Fedora History: missing commands entered
-
@gjacobse said in Fedora History: missing commands entered:
Why - would some of the recent commands NOT be listed in history?
Most are, but several are not.
You have multiple connections open.
History is not a notepad.
Keep your own notepad of commands if it is important.
-
@JaredBusch said in Fedora History: missing commands entered:
@gjacobse said in Fedora History: missing commands entered:
Why - would some of the recent commands NOT be listed in history?
Most are, but several are not.
You have multiple connections open.
History is not a notepad.
Keep your own notepad of commands if it is important.
I could see that if I did. But I don’t-
At LEAST; as far as I know. I’ll have to check.
-
[root@NYNJ-AdGuard ~]# who root pts/0 2020-12-07 15:09 (166.173.250.38) [root@NYNJ-AdGuard ~]#
No - doesn’t appear any concurrent sign one.
-
I've never dug into it, but I know for a fact on my desktop that is I have a terminal open and then open a second, the history is different.
How/why? Never cared to check. Annoying a few times when I wanted to be lazy, but only that.
-
@JaredBusch
I can see that.And yes- it isn’t a good practice to rely on ‘’’history’’’ for what has been done....
Pen and paper or another system to document is better. I could do that at home. Not so easy from a iPhone....
-
If you begin the line with a space, it won't track in your history. I believe Fedora does this by default if I remember correctly.
-
@JaredBusch said in Fedora History: missing commands entered:
I've never dug into it, but I know for a fact on my desktop that is I have a terminal open and then open a second, the history is different.
How/why? Never cared to check. Annoying a few times when I wanted to be lazy, but only that.
File access issues, I believe. They can't have both processes holding open the same file at the same time.
-
@scottalanmiller said in Fedora History: missing commands entered:
@JaredBusch said in Fedora History: missing commands entered:
I've never dug into it, but I know for a fact on my desktop that is I have a terminal open and then open a second, the history is different.
How/why? Never cared to check. Annoying a few times when I wanted to be lazy, but only that.
File access issues, I believe. They can't have both processes holding open the same file at the same time.
No, the history is completely different, like it is reading a completely different file. But I only have a single history file when I look.
I never looked into it beyond that.
-
@JaredBusch said in Fedora History: missing commands entered:
@scottalanmiller said in Fedora History: missing commands entered:
@JaredBusch said in Fedora History: missing commands entered:
I've never dug into it, but I know for a fact on my desktop that is I have a terminal open and then open a second, the history is different.
How/why? Never cared to check. Annoying a few times when I wanted to be lazy, but only that.
File access issues, I believe. They can't have both processes holding open the same file at the same time.
No, the history is completely different, like it is reading a completely different file. But I only have a single history file when I look.
I never looked into it beyond that.
That's what I mean, the second session has to open and use a second file.
-
@scottalanmiller said in Fedora History: missing commands entered:
@JaredBusch said in Fedora History: missing commands entered:
@scottalanmiller said in Fedora History: missing commands entered:
@JaredBusch said in Fedora History: missing commands entered:
I've never dug into it, but I know for a fact on my desktop that is I have a terminal open and then open a second, the history is different.
How/why? Never cared to check. Annoying a few times when I wanted to be lazy, but only that.
File access issues, I believe. They can't have both processes holding open the same file at the same time.
No, the history is completely different, like it is reading a completely different file. But I only have a single history file when I look.
I never looked into it beyond that.
That's what I mean, the second session has to open and use a second file.
But where is that file stored? Because that same "different" history is there everytime I open a second session.
-
@JaredBusch said in Fedora History: missing commands entered:
@scottalanmiller said in Fedora History: missing commands entered:
@JaredBusch said in Fedora History: missing commands entered:
@scottalanmiller said in Fedora History: missing commands entered:
@JaredBusch said in Fedora History: missing commands entered:
I've never dug into it, but I know for a fact on my desktop that is I have a terminal open and then open a second, the history is different.
How/why? Never cared to check. Annoying a few times when I wanted to be lazy, but only that.
File access issues, I believe. They can't have both processes holding open the same file at the same time.
No, the history is completely different, like it is reading a completely different file. But I only have a single history file when I look.
I never looked into it beyond that.
That's what I mean, the second session has to open and use a second file.
But where is that file stored? Because that same "different" history is there everytime I open a second session.
I don't get that, at least not on Fedora. Both get the same and show the same file.
-
Same on Ubuntu, mutliple sessions, same file and contents.
-
@scottalanmiller said in Fedora History: missing commands entered:
@JaredBusch said in Fedora History: missing commands entered:
@scottalanmiller said in Fedora History: missing commands entered:
@JaredBusch said in Fedora History: missing commands entered:
@scottalanmiller said in Fedora History: missing commands entered:
@JaredBusch said in Fedora History: missing commands entered:
I've never dug into it, but I know for a fact on my desktop that is I have a terminal open and then open a second, the history is different.
How/why? Never cared to check. Annoying a few times when I wanted to be lazy, but only that.
File access issues, I believe. They can't have both processes holding open the same file at the same time.
No, the history is completely different, like it is reading a completely different file. But I only have a single history file when I look.
I never looked into it beyond that.
That's what I mean, the second session has to open and use a second file.
But where is that file stored? Because that same "different" history is there everytime I open a second session.
I don't get that, at least not on Fedora. Both get the same and show the same file.
Maybe it was over SSH. But I know i experienced it. I'll try and keep this in mind as I work over the next few days and get an example of where it was.
-
@JaredBusch said in Fedora History: missing commands entered:
@scottalanmiller said in Fedora History: missing commands entered:
@JaredBusch said in Fedora History: missing commands entered:
@scottalanmiller said in Fedora History: missing commands entered:
@JaredBusch said in Fedora History: missing commands entered:
@scottalanmiller said in Fedora History: missing commands entered:
@JaredBusch said in Fedora History: missing commands entered:
I've never dug into it, but I know for a fact on my desktop that is I have a terminal open and then open a second, the history is different.
How/why? Never cared to check. Annoying a few times when I wanted to be lazy, but only that.
File access issues, I believe. They can't have both processes holding open the same file at the same time.
No, the history is completely different, like it is reading a completely different file. But I only have a single history file when I look.
I never looked into it beyond that.
That's what I mean, the second session has to open and use a second file.
But where is that file stored? Because that same "different" history is there everytime I open a second session.
I don't get that, at least not on Fedora. Both get the same and show the same file.
Maybe it was over SSH. But I know i experienced it. I'll try and keep this in mind as I work over the next few days and get an example of where it was.
I tested SSH, and local. But I know what you mean and I've seen it before. But I'm trying to reproduce it now and can't. I think it must be something with being remote, though.
-
If you want to see where a session thinks that it is writing, use this command... echo $HISTFILE
-
@scottalanmiller said in Fedora History: missing commands entered:
But I know what you mean and I've seen it before. But I'm trying to reproduce it now and can't.
Same. I just tried also. Annoying as hell when I know I have seen it.
-
@JaredBusch said in Fedora History: missing commands entered:
@scottalanmiller said in Fedora History: missing commands entered:
But I know what you mean and I've seen it before. But I'm trying to reproduce it now and can't.
Same. I just tried also. Annoying as hell when I know I have seen it.
No kidding, I know I've seen it too.
-
@scottalanmiller said in Fedora History: missing commands entered:
@JaredBusch said in Fedora History: missing commands entered:
@scottalanmiller said in Fedora History: missing commands entered:
But I know what you mean and I've seen it before. But I'm trying to reproduce it now and can't.
Same. I just tried also. Annoying as hell when I know I have seen it.
No kidding, I know I've seen it too.
I know I've seen that happen before as well, so make that 3. I just don't have time to look at the moment.