Redirect the output of a command to a text file, as opposed to your screen.
Code:
dmesg > /home/user/text.file
And then, to add to an existing text file without overwriting, do:
Code:
dmesg >> /home/user/text.file
Sort of technology related, but other stuff too