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

    Fedora History: missing commands entered

    Scheduled Pinned Locked Moved IT Discussion
    19 Posts 5 Posters 273 Views
    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.
    • 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