LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   save termial buffer (https://www.linuxquestions.org/questions/linux-software-2/save-termial-buffer-107285/)

unosoft 10-22-2003 04:24 PM

save termial buffer
 
is there any way that I can save, whatever is printed in the terminal to a given file?

I need to get some data printed by the kernel (printk) to some file

thank you
-uno

peace 10-22-2003 04:49 PM

You can use > to redirect the output to a file:

ps aux | grep "kde" > myfile.txt

unosoft 10-22-2003 05:08 PM

redirecting using > will not work.

">" command wont redirect messages comming from printk.

thank you anyways.


All times are GMT -5. The time now is 12:28 AM.