What does 2>&1 | tee mean?“brew formula” installation logsWhat does the @ sign and the number next to it mean in ls -l display?What does error “the Classic Environment is no longer supported” mean?What does a hard link do?What is “TALagent” and why is it “Exiting out of boredom”?What is wrong in this command about grepping and pandocing?What does “is not recognized as an internal or external command” error mean?What exactly does “out of application memory” mean?Unable to brew install wineterminal script to search CSV fileRe-installation from the internet fails with error code -2005F, what does it mean?

Does Hubble need to dump momentum of its reaction wheels?

Do equal angles necessarily mean a polygon is regular?

How can Charles Proxy change settings without admin rights after first time?

Going to get married soon, should I do it on Dec 31 or Jan 1?

Procedurally generate regions on island

What are the penalties for overstaying in USA?

Architecture of networked game engine

Syntax Error with 'if'

Why isn’t the tax system continuous rather than bracketed?

"It will become the talk of Paris" - translation into French

How to append a matrix element by element?

Should my manager be aware of private LinkedIn approaches I receive? How to politely have this happen?

Does image quality of the lens affect "focus and recompose" technique?

Could Sauron have read Tom Bombadil's mind if Tom had held the Palantir?

Why is C++ initial allocation so much larger than C's?

How many codes are possible?

Was touching your nose a greeting in second millenium Mesopotamia?

Find smallest index that is identical to the value in an array

How come I was asked by a CBP officer why I was in the US?

How can I set command-line parameters through `.emacs` file?

Why does the A-4 Skyhawk sit nose-up when on ground?

Why aren't (poly-)cotton tents more popular?

How to determine what is the correct level of detail when modelling?

Pull-up sequence accumulator counter



What does 2>&1 | tee mean?


“brew formula” installation logsWhat does the @ sign and the number next to it mean in ls -l display?What does error “the Classic Environment is no longer supported” mean?What does a hard link do?What is “TALagent” and why is it “Exiting out of boredom”?What is wrong in this command about grepping and pandocing?What does “is not recognized as an internal or external command” error mean?What exactly does “out of application memory” mean?Unable to brew install wineterminal script to search CSV fileRe-installation from the internet fails with error code -2005F, what does it mean?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















I read the answer by @grg to question “brew formula” installation logs:




brew install <formula> 2>&1 | tee install.log




So where exactly is this install.log file going to end up, and what exactly the 2>&1 | tee part of the command mean?










share|improve this question









New contributor



Fortnite Lucifer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    2















    I read the answer by @grg to question “brew formula” installation logs:




    brew install <formula> 2>&1 | tee install.log




    So where exactly is this install.log file going to end up, and what exactly the 2>&1 | tee part of the command mean?










    share|improve this question









    New contributor



    Fortnite Lucifer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      2












      2








      2








      I read the answer by @grg to question “brew formula” installation logs:




      brew install <formula> 2>&1 | tee install.log




      So where exactly is this install.log file going to end up, and what exactly the 2>&1 | tee part of the command mean?










      share|improve this question









      New contributor



      Fortnite Lucifer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I read the answer by @grg to question “brew formula” installation logs:




      brew install <formula> 2>&1 | tee install.log




      So where exactly is this install.log file going to end up, and what exactly the 2>&1 | tee part of the command mean?







      macos unix






      share|improve this question









      New contributor



      Fortnite Lucifer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question









      New contributor



      Fortnite Lucifer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question








      edited 5 hours ago







      Fortnite Lucifer













      New contributor



      Fortnite Lucifer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 8 hours ago









      Fortnite LuciferFortnite Lucifer

      133 bronze badges




      133 bronze badges




      New contributor



      Fortnite Lucifer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      Fortnite Lucifer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          2 Answers
          2






          active

          oldest

          votes


















          2















          • The tee command prints the piped stdout to the file path given as well as displaying it in the terminal. This is commonly used for recording the output of commands to file which would otherwise only be ephemerally printed to the terminal.



            Without tee and using simple redirection of brew install > install.log would prevent stdout being printed to the terminal as well as the file, requiring the file to be accessed to view the messages.




          • 2>&1 redirects stderr to stdout alongside the existing stdout, meaning that the error messages are redirected as normal output.



            Without this, tee would only print stdout without the error messages to the install log.



          install.log is relative to the current directory.






          share|improve this answer






























            2














            2>&1 means "send any error messages (aka 'stderr') to the same output as any informational messages (aka 'stdout")."



            And



            | tee install.log means "whatever output there is should also be sent to the file install.log.






            share|improve this answer
































              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              2















              • The tee command prints the piped stdout to the file path given as well as displaying it in the terminal. This is commonly used for recording the output of commands to file which would otherwise only be ephemerally printed to the terminal.



                Without tee and using simple redirection of brew install > install.log would prevent stdout being printed to the terminal as well as the file, requiring the file to be accessed to view the messages.




              • 2>&1 redirects stderr to stdout alongside the existing stdout, meaning that the error messages are redirected as normal output.



                Without this, tee would only print stdout without the error messages to the install log.



              install.log is relative to the current directory.






              share|improve this answer



























                2















                • The tee command prints the piped stdout to the file path given as well as displaying it in the terminal. This is commonly used for recording the output of commands to file which would otherwise only be ephemerally printed to the terminal.



                  Without tee and using simple redirection of brew install > install.log would prevent stdout being printed to the terminal as well as the file, requiring the file to be accessed to view the messages.




                • 2>&1 redirects stderr to stdout alongside the existing stdout, meaning that the error messages are redirected as normal output.



                  Without this, tee would only print stdout without the error messages to the install log.



                install.log is relative to the current directory.






                share|improve this answer

























                  2












                  2








                  2








                  • The tee command prints the piped stdout to the file path given as well as displaying it in the terminal. This is commonly used for recording the output of commands to file which would otherwise only be ephemerally printed to the terminal.



                    Without tee and using simple redirection of brew install > install.log would prevent stdout being printed to the terminal as well as the file, requiring the file to be accessed to view the messages.




                  • 2>&1 redirects stderr to stdout alongside the existing stdout, meaning that the error messages are redirected as normal output.



                    Without this, tee would only print stdout without the error messages to the install log.



                  install.log is relative to the current directory.






                  share|improve this answer














                  • The tee command prints the piped stdout to the file path given as well as displaying it in the terminal. This is commonly used for recording the output of commands to file which would otherwise only be ephemerally printed to the terminal.



                    Without tee and using simple redirection of brew install > install.log would prevent stdout being printed to the terminal as well as the file, requiring the file to be accessed to view the messages.




                  • 2>&1 redirects stderr to stdout alongside the existing stdout, meaning that the error messages are redirected as normal output.



                    Without this, tee would only print stdout without the error messages to the install log.



                  install.log is relative to the current directory.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 8 hours ago









                  grggrg

                  141k25 gold badges224 silver badges333 bronze badges




                  141k25 gold badges224 silver badges333 bronze badges























                      2














                      2>&1 means "send any error messages (aka 'stderr') to the same output as any informational messages (aka 'stdout")."



                      And



                      | tee install.log means "whatever output there is should also be sent to the file install.log.






                      share|improve this answer



























                        2














                        2>&1 means "send any error messages (aka 'stderr') to the same output as any informational messages (aka 'stdout")."



                        And



                        | tee install.log means "whatever output there is should also be sent to the file install.log.






                        share|improve this answer

























                          2












                          2








                          2







                          2>&1 means "send any error messages (aka 'stderr') to the same output as any informational messages (aka 'stdout")."



                          And



                          | tee install.log means "whatever output there is should also be sent to the file install.log.






                          share|improve this answer













                          2>&1 means "send any error messages (aka 'stderr') to the same output as any informational messages (aka 'stdout")."



                          And



                          | tee install.log means "whatever output there is should also be sent to the file install.log.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 8 hours ago









                          TJ LuomaTJ Luoma

                          12k3 gold badges40 silver badges81 bronze badges




                          12k3 gold badges40 silver badges81 bronze badges













                              Popular posts from this blog

                              Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

                              Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

                              Tom Holland Mục lục Đầu đời và giáo dục | Sự nghiệp | Cuộc sống cá nhân | Phim tham gia | Giải thưởng và đề cử | Chú thích | Liên kết ngoài | Trình đơn chuyển hướngProfile“Person Details for Thomas Stanley Holland, "England and Wales Birth Registration Index, 1837-2008" — FamilySearch.org”"Meet Tom Holland... the 16-year-old star of The Impossible""Schoolboy actor Tom Holland finds himself in Oscar contention for role in tsunami drama"“Naomi Watts on the Prince William and Harry's reaction to her film about the late Princess Diana”lưu trữ"Holland and Pflueger Are West End's Two New 'Billy Elliots'""I'm so envious of my son, the movie star! British writer Dominic Holland's spent 20 years trying to crack Hollywood - but he's been beaten to it by a very unlikely rival"“Richard and Margaret Povey of Jersey, Channel Islands, UK: Information about Thomas Stanley Holland”"Tom Holland to play Billy Elliot""New Billy Elliot leaving the garage"Billy Elliot the Musical - Tom Holland - Billy"A Tale of four Billys: Tom Holland""The Feel Good Factor""Thames Christian College schoolboys join Myleene Klass for The Feelgood Factor""Government launches £600,000 arts bursaries pilot""BILLY's Chapman, Holland, Gardner & Jackson-Keen Visit Prime Minister""Elton John 'blown away' by Billy Elliot fifth birthday" (video with John's interview and fragments of Holland's performance)"First News interviews Arrietty's Tom Holland"“33rd Critics' Circle Film Awards winners”“National Board of Review Current Awards”Bản gốc"Ron Howard Whaling Tale 'In The Heart Of The Sea' Casts Tom Holland"“'Spider-Man' Finds Tom Holland to Star as New Web-Slinger”lưu trữ“Captain America: Civil War (2016)”“Film Review: ‘Captain America: Civil War’”lưu trữ“‘Captain America: Civil War’ review: Choose your own avenger”lưu trữ“The Lost City of Z reviews”“Sony Pictures and Marvel Studios Find Their 'Spider-Man' Star and Director”“‘Mary Magdalene’, ‘Current War’ & ‘Wind River’ Get 2017 Release Dates From Weinstein”“Lionsgate Unleashing Daisy Ridley & Tom Holland Starrer ‘Chaos Walking’ In Cannes”“PTA's 'Master' Leads Chicago Film Critics Nominations, UPDATED: Houston and Indiana Critics Nominations”“Nominaciones Goya 2013 Telecinco Cinema – ENG”“Jameson Empire Film Awards: Martin Freeman wins best actor for performance in The Hobbit”“34th Annual Young Artist Awards”Bản gốc“Teen Choice Awards 2016—Captain America: Civil War Leads Second Wave of Nominations”“BAFTA Film Award Nominations: ‘La La Land’ Leads Race”“Saturn Awards Nominations 2017: 'Rogue One,' 'Walking Dead' Lead”Tom HollandTom HollandTom HollandTom Hollandmedia.gettyimages.comWorldCat Identities300279794no20130442900000 0004 0355 42791085670554170004732cb16706349t(data)XX5557367