grep buffer for previously executed command output [duplicate]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite













This question already has an answer here:



  • Searching the scrollback buffer

    2 answers



Is it possible to grep the buffer? For instance if I execute a build process in my VxWorks shell, linux shell, etc, is there a rolling file that contains buffer (e.g. data while scrolling)/previous output?










share|improve this question













marked as duplicate by agc, meuh, Thomas Dickey, G-Man, msp9011 Sep 2 at 21:33


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.










  • 1




    See also: How to search terminal output
    – agc
    Sep 2 at 5:37















up vote
2
down vote

favorite













This question already has an answer here:



  • Searching the scrollback buffer

    2 answers



Is it possible to grep the buffer? For instance if I execute a build process in my VxWorks shell, linux shell, etc, is there a rolling file that contains buffer (e.g. data while scrolling)/previous output?










share|improve this question













marked as duplicate by agc, meuh, Thomas Dickey, G-Man, msp9011 Sep 2 at 21:33


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.










  • 1




    See also: How to search terminal output
    – agc
    Sep 2 at 5:37













up vote
2
down vote

favorite









up vote
2
down vote

favorite












This question already has an answer here:



  • Searching the scrollback buffer

    2 answers



Is it possible to grep the buffer? For instance if I execute a build process in my VxWorks shell, linux shell, etc, is there a rolling file that contains buffer (e.g. data while scrolling)/previous output?










share|improve this question














This question already has an answer here:



  • Searching the scrollback buffer

    2 answers



Is it possible to grep the buffer? For instance if I execute a build process in my VxWorks shell, linux shell, etc, is there a rolling file that contains buffer (e.g. data while scrolling)/previous output?





This question already has an answer here:



  • Searching the scrollback buffer

    2 answers







shell grep vxworks






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Aug 23 at 19:59









RJ7

111




111




marked as duplicate by agc, meuh, Thomas Dickey, G-Man, msp9011 Sep 2 at 21:33


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






marked as duplicate by agc, meuh, Thomas Dickey, G-Man, msp9011 Sep 2 at 21:33


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









  • 1




    See also: How to search terminal output
    – agc
    Sep 2 at 5:37













  • 1




    See also: How to search terminal output
    – agc
    Sep 2 at 5:37








1




1




See also: How to search terminal output
– agc
Sep 2 at 5:37





See also: How to search terminal output
– agc
Sep 2 at 5:37











2 Answers
2






active

oldest

votes

















up vote
0
down vote













Use tee command:



building_command | tee -a rolling.txt





share|improve this answer




















  • Yes, I am aware of tee - however I forgot to tee my output and would rather not rebuild.
    – RJ7
    Aug 23 at 20:03

















up vote
0
down vote













It is not possible to grep the buffer, but some terminal emulators have a function to search in the buffer.



In most terminal emulators you can select the text and then paste it into an editor and save it to a file, which you can grep.






share|improve this answer



























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    Use tee command:



    building_command | tee -a rolling.txt





    share|improve this answer




















    • Yes, I am aware of tee - however I forgot to tee my output and would rather not rebuild.
      – RJ7
      Aug 23 at 20:03














    up vote
    0
    down vote













    Use tee command:



    building_command | tee -a rolling.txt





    share|improve this answer




















    • Yes, I am aware of tee - however I forgot to tee my output and would rather not rebuild.
      – RJ7
      Aug 23 at 20:03












    up vote
    0
    down vote










    up vote
    0
    down vote









    Use tee command:



    building_command | tee -a rolling.txt





    share|improve this answer












    Use tee command:



    building_command | tee -a rolling.txt






    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Aug 23 at 20:00









    Ipor Sircer

    9,3161920




    9,3161920











    • Yes, I am aware of tee - however I forgot to tee my output and would rather not rebuild.
      – RJ7
      Aug 23 at 20:03
















    • Yes, I am aware of tee - however I forgot to tee my output and would rather not rebuild.
      – RJ7
      Aug 23 at 20:03















    Yes, I am aware of tee - however I forgot to tee my output and would rather not rebuild.
    – RJ7
    Aug 23 at 20:03




    Yes, I am aware of tee - however I forgot to tee my output and would rather not rebuild.
    – RJ7
    Aug 23 at 20:03












    up vote
    0
    down vote













    It is not possible to grep the buffer, but some terminal emulators have a function to search in the buffer.



    In most terminal emulators you can select the text and then paste it into an editor and save it to a file, which you can grep.






    share|improve this answer
























      up vote
      0
      down vote













      It is not possible to grep the buffer, but some terminal emulators have a function to search in the buffer.



      In most terminal emulators you can select the text and then paste it into an editor and save it to a file, which you can grep.






      share|improve this answer






















        up vote
        0
        down vote










        up vote
        0
        down vote









        It is not possible to grep the buffer, but some terminal emulators have a function to search in the buffer.



        In most terminal emulators you can select the text and then paste it into an editor and save it to a file, which you can grep.






        share|improve this answer












        It is not possible to grep the buffer, but some terminal emulators have a function to search in the buffer.



        In most terminal emulators you can select the text and then paste it into an editor and save it to a file, which you can grep.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 23 at 20:25









        RalfFriedl

        3,7451624




        3,7451624












            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Bahrain

            Postfix configuration issue with fips on centos 7; mailgun relay