How to write build output into file

36 views
Skip to first unread message

John Young

unread,
Oct 10, 2016, 9:34:01 PM10/10/16
to ns-3-users
I know it can be configured in eclipse to write run output into a file. But how can I write the build output? 
I used ./waf build 2&1> output.txt but the errors are not recorded in the output.

pdbarnes

unread,
Oct 11, 2016, 10:51:44 AM10/11/16
to ns-3-users
I think it's ./waf build >output.txt 2>&1

Read the Redirection section in man bash.

Peter

John Young

unread,
Oct 11, 2016, 10:22:55 PM10/11/16
to ns-3-users
Thanks. 

在 2016年10月11日星期二 UTC+8下午10:51:44,pdbarnes写道:
Reply all
Reply to author
Forward
0 new messages