LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-23-2013, 09:47 PM   #1
skippy1729
Member
 
Registered: Oct 2008
Posts: 95

Rep: Reputation: 0
How to save the output of make


I am running make and would like to save the output to a file for reference in investigating the errors. Tried make >> dumpfile and several variations of cat. Some output is recorded to my file but not all of it and not the various error messages. Thanks for any help.
 
Old 05-23-2013, 10:04 PM   #2
mark_boyer
LQ Newbie
 
Registered: May 2013
Posts: 7

Rep: Reputation: 13
Redirection

Use
Code:
make 2>&1 >> dumpfile
. This redirects std error to std out and appends your file.
 
3 members found this post helpful.
Old 05-23-2013, 10:20 PM   #3
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Just go through this tutorials:

http://www.tldp.org/LDP/abs/html/io-redirection.html
http://www.tldp.org/LDP/intro-linux/html/chap_05.html
 
3 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
save mpstat output ! ghaedi591 Linux - General 1 11-11-2011 09:42 AM
save mpstat output ! ghaedi591 Linux - General 1 11-11-2011 02:53 AM
Best way to save top output? 18Googol2 Linux - General 9 03-13-2009 01:22 AM
how to save output from a command to a variable? tomolesonjr Linux - Newbie 6 04-19-2006 03:04 PM
How do I save the output from a program? Fe98 Programming 4 11-10-2003 09:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration