ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Fedora History: missing commands entered

    IT Discussion
    5
    19
    200
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • gjacobseG
      gjacobse
      last edited by

      Why - would some of the recent commands NOT be listed in history?

      Most are, but several are not.

      JaredBuschJ 1 Reply Last reply Reply Quote 0
      • JaredBuschJ
        JaredBusch @gjacobse
        last edited by JaredBusch

        @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.

        gjacobseG 1 Reply Last reply Reply Quote 0
        • gjacobseG
          gjacobse @JaredBusch
          last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • gjacobseG
            gjacobse
            last edited by

            [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.

            1 Reply Last reply Reply Quote 0
            • JaredBuschJ
              JaredBusch
              last edited by

              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.

              gjacobseG scottalanmillerS 2 Replies Last reply Reply Quote 1
              • gjacobseG
                gjacobse @JaredBusch
                last edited by

                @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....

                1 Reply Last reply Reply Quote 0
                • stacksofplatesS
                  stacksofplates
                  last edited by

                  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.

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @JaredBusch
                    last edited by

                    @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.

                    JaredBuschJ 1 Reply Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch @scottalanmiller
                      last edited by

                      @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.

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @JaredBusch
                        last edited by

                        @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.

                        JaredBuschJ 1 Reply Last reply Reply Quote 0
                        • JaredBuschJ
                          JaredBusch @scottalanmiller
                          last edited by

                          @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.

                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @JaredBusch
                            last edited by

                            @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.

                            JaredBuschJ 1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller
                              last edited by

                              Same on Ubuntu, mutliple sessions, same file and contents.

                              1 Reply Last reply Reply Quote 0
                              • JaredBuschJ
                                JaredBusch @scottalanmiller
                                last edited by

                                @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.

                                scottalanmillerS 1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @JaredBusch
                                  last edited by

                                  @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.

                                  JaredBuschJ 1 Reply Last reply Reply Quote 1
                                  • scottalanmillerS
                                    scottalanmiller
                                    last edited by

                                    If you want to see where a session thinks that it is writing, use this command... echo $HISTFILE

                                    1 Reply Last reply Reply Quote 1
                                    • JaredBuschJ
                                      JaredBusch @scottalanmiller
                                      last edited by

                                      @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.

                                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller @JaredBusch
                                        last edited by

                                        @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.

                                        travisdh1T 1 Reply Last reply Reply Quote 0
                                        • travisdh1T
                                          travisdh1 @scottalanmiller
                                          last edited by

                                          @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.

                                          1 Reply Last reply Reply Quote 0
                                          • 1 / 1
                                          • First post
                                            Last post