LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   linux command for storing compilation error to fil (https://www.linuxquestions.org/questions/linux-newbie-8/linux-command-for-storing-compilation-error-to-fil-636647/)

sagar123 04-20-2008 03:42 PM

linux command for storing compilation error to fil
 
i am compiling a cpp file using a command "c++ filename.cpp" and run the program through ./a.out
how can i store the compilation error to text file

vkmgeek 04-20-2008 03:54 PM

root#]"your compilation command" &> filname.log


All times are GMT -5. The time now is 06:57 AM.