You are not logged in.
I read how to do it recently but spent 20 mins or so googling and can't find the simple solution. It was a short one I read.
I don't mean pipe the new terminal output but pipe the terminal output that has already been displayed because there are errors on the screen from plugging in my usb keyboard which I want to send to a service online since I can't copy and paste it on that computer.
Last edited by MarthaParkin (2016-05-21 13:11:03)
Offline
You can do this with the script command.
script somefile.txt
...do some stuff in terminal
exit
This will result in all you terminal stuff being in somefile.txt that you can send to pastbin or wherever.
Offline
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
What command would it be to paste the already printed text on the terminal since it isn't dependant on a command to trigger it so I want to send it after it printed of its own accord. It comes when I plug the usb keyboard in.
Last edited by MarthaParkin (2016-05-21 16:01:23)
Offline
Aren't these messages stored in the kernel buffer and readable with dmesg? If you really need to dump the visible terminal, you can try setterm:
setterm --file /tmp/tty1.dump --dump 1
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Aren't these messages stored in the kernel buffer and readable with dmesg? If you really need to dump the visible terminal, you can try setterm:
setterm --file /tmp/tty1.dump --dump 1
oh ye I guess. I forgot about dmesg. Will try.
Worked. Cheers.
Last edited by MarthaParkin (2016-05-21 17:14:45)
Offline
Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Offline