0

I'm trying to redirect output from the terminal to a file (or variable) so I can then paste the content to a GUI program. Like so:

$ echo "Text to be pasted" >> /path/to/file

And then paste with Ctrl+V in a browser.

Which file or variable is that in a Linux system?

Penny Liu
  • 11,885
  • 5
  • 66
  • 81

0 Answers0